зеркало из https://github.com/mozilla/pjs.git
Added encode flags.
This commit is contained in:
Родитель
ed2a17b71b
Коммит
78e5f4fcb6
|
@ -30,21 +30,28 @@ interface nsIHTTPProtocolHandler : nsIProtocolHandler
|
||||||
in unsigned long port,
|
in unsigned long port,
|
||||||
in nsIChannel transport);
|
in nsIChannel transport);
|
||||||
|
|
||||||
/**
|
const unsigned long ENCODE_NORMAL = 0;
|
||||||
*
|
const unsigned long ENCODE_ADD_CRLF = (1 << 0);
|
||||||
*/
|
const unsigned long ENCODE_QUOTE_LINES = (1 << 1);
|
||||||
nsIInputStream NewEncodeStream(in nsIInputStream rawStream);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
nsIInputStream NewDecodeStream(in nsIInputStream encodedStream);
|
nsIInputStream NewEncodeStream(in nsIInputStream rawStream,
|
||||||
|
in unsigned long encodeFlags);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
nsIInputStream NewPostDataStream(in boolean isFile,
|
nsIInputStream NewDecodeStream(in nsIInputStream encodedStream,
|
||||||
in string data);
|
in unsigned long encodeFlags);
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
nsIInputStream NewPostDataStream(in boolean isFile,
|
||||||
|
in string data,
|
||||||
|
in unsigned long encodeFlags);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче