Hitesh Khamesra wrote:
var streamConv = 
Components.classes["@mozilla.org/streamconv;1?from=gzip&to=uncompressed"].createInstance(Components.interfaces.nsIStreamConverter);

I kinda intentionally suggested the stream converter service...

var ret = streamConv.convert(inputStream, "gzip", "uncompressed", null);

Looks like the gzip stream converter only supports asynchronous conversion. Maybe you should file a bug/RFE on that.

(http://lxr.mozilla.org/seamonkey/source/netwerk/streamconv/converters/nsHTTPCompressConv.cpp#357)

-biesi

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to