httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
Date Thu, 21 Aug 2008 11:13:12 GMT

On 19 Aug 2008, at 14:41, bugzilla@apache.org wrote:

> --- Comment #5 from rahul <rahul@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

Mime
View raw message