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=14451>.
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=14451

Using mod_deflate on an internally redirected request results in an extra 20 
byte gzip header appended to the response.





------- Additional Comments From [EMAIL PROTECTED]  2003-02-13 02:28 -------
Thanks for looking at this!
While working on this issue I did figure out that suppressing the
content for the head method was wrong. I haven't gotten around to
changing the code yet, but I plan to. The original idea was to save
resources by not doing database calls if the content was going to
be thrown away anyway, but it turned out that keeps the head method
from being as useful as it should. I also got confused by this as
I was expecting the content-length to be zero since there was no
body, not realizing that a gzip'd version of an empty content takes
up 20 bytes.
Get requests do seem to be broken though. And since mod_deflate checks
to make sure it isn't run twice, I am pretty sure there is something
wrong where I have patched the code. (Especially since it fixes things
for me.) I am just not sure that the fix is really correct for all
cases.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to