
nick at webthing
Aug 21, 2008, 4:13 AM
Post #1 of 2
(157 views)
Permalink
|
|
Re: DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
|
|
On 19 Aug 2008, at 14:41, bugzilla[at]apache.org wrote: > --- Comment #5 from rahul <rahul[at]sun.com> 2008-08-19 06:41:51 PST --- > Created an attachment (id=22453) > --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22453) > A POC slightly better than the above conf lines, > > Adds an input filter ETAG that can be used like below, along with > DEFLATE > to let apache recognize ($1)-gzip as $1 > > AddInputFilter ETAG .txt > AddOutputFilterByType DEFLATE text/plain Neat little fix (insofar as that problem admits of a neat fix). But I dislike using an input filter just to manipulate request headers (that's what processing hooks are for), and the sysop shouldn't have to configure it. Does something bad happen if you put the check in a post_read_request hook instead? -- Nick Kew
|