The other possibility is to have a null value for
IResourceStream.length(), like -1, to decide whether to set the
header or not.

The RFC says that this Content-Length SHOULD be sent
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
That means it's recommended, but not mandatory.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Reply via email to