DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24571

Content-Length header missing

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-11-10 18:11 -------
The http spec says that Content-Length *should* be set, meaning it's not
mandatory [1].

In the case of Cocoon, this is an important feature that allows to benefit of
the SAX pipeline streaming, and thus send content back to the browser before
full processing of the request is finished.

Now if you really need this, you can subclass of XMLSerializer and override the
shouldSetContentLength() method so that it returns true.

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

Reply via email to