content lenght is used for all kind of things. For example caching.
So it is very recommended to set it.

johan


On 4/15/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:

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