cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24571] - Content-Length header missing
Date Mon, 10 Nov 2003 18:11:04 GMT
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

sylvain@apache.org changed:

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



------- Additional Comments From sylvain@apache.org  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

Mime
View raw message