httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject [PATCH] mod_deflate.c
Date Sat, 09 Nov 2002 23:24:59 GMT
The current behaviour of mod_deflate is to set the Vary: Accept-Encoding 
header dependant on the fact, whether the client sent Accept-Encoding: gzip 
or not.

However, I think, that behaviour is not correct. At the time, the DEFLATE 
filter is activated, the resource actually /does/ vary on Accept-Encoding. 
Independant from what the client accepts or not. The attached patch moves 
the Vary header setting to the time before the filter checks the supplied 
Accept-Encoding but after the time, it checks whether the stream is already 
compressed (and probably already correct labeled with a Vary header).

nd
-- 
die (eval q-qq:Just Another Perl Hacker
:-)

# André Malo, <http://www.perlig.de/> #

Mime
View raw message