Re: wrong length from nsIInputStream ??

Christian Biesinger <[email protected]> Tue, 25 May 2004 22:28:55 +0200
Newsgroups gmane.comp.mozilla.devel.netlib,gmane.comp.mozilla.devel.xpcom
Message-ID <[email protected]>
Darin Fisher wrote:
> nsIChannel::contentLength, but that is often -1 (for HTTP chunked data) 
> or the wrong number (for HTTP content encoded data).

Not to mention that it doesn't support data larger than 4 GB...

Well, neither does nsIInputStream::available.