tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25133] - Cannot add responses headers in filter after doFilter
Date Tue, 02 Dec 2003 12:40:33 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=25133>.
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=25133

Cannot add responses headers in filter after doFilter





------- Additional Comments From funkman@joedog.org  2003-12-02 12:40 -------
No content is sent back on a 304. Only a header is sent to the client. With
those situations, to response is not committed by the time doFilter() returns.
Typically the response gets committed when the output buffer is full, but in the
case of a 304 (and maybe very small files) it does not. 

The spec doesn't dictate exactly when (in time of request) the response is
committed. If it did - then no one would be allowed to write XSL filters (or
similar) to transform the response data after the previous link in the chain was
executed.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message