https://issues.apache.org/bugzilla/show_bug.cgi?id=54255
Bug ID: 54255
Summary: mod_deflate adjusts the headers "too late", should
have a fixups hook
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_deflate
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
When mod_deflate is used to inflate, it must adjust the request headers (e.g.
it needs to remove the "Content-Length" header and adjust the
"Content-Encoding" header).
Currently mod_deflate adjusts the headers when the request body is read. But
this is too late. For example, if a content generator module needs to look at
the request headers before reading the request body, the content generator
module "sees" the old (unmodified) headers.
mod_deflate should adjust the headers in an early stage, for example in a fixup
hook (ap_hook_fixups).
I assume that some other bugs are also caused by this issue, e.g. bug 52595.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]