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.
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to