Antwort: [Mod_gzip] mod_gzip_send_vary Yes turns OFF Vary
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Tue, 19 Nov 2002 01:11:02 +0200
Hi Glenn,
> If I use "mod_gzip_send_vary Yes" then a Vary header is _not_ sent.
> If I comment it out, the Vary is sent and all is well.
> Also, when playing with the example
> mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"
> I was able to get a "Vary: Accept-Encoding,U"!
We are aware of the fact that the creation of the "Vary:" header
contains still a bug in certain cases - I was able to reproduce
something similar myself when using the "reqheader" rule.
Seems to be some string length calculation error.
I believe to remember that Christian already has a fix for this
in the CVS - unfortunately I can't reach the Sourceforge server
at the moment, but you can try to check this yourself at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mod-gzip/mod-gzip13x/
There will definitely be a fix to the "Vary:" header creation in
some forthcoming mod_gzip version ... Christian had a lot of work
with another big Open Source project recently and won't have that
much time at the start of 2003 either ... sigh.
At the moment, I can only tell you that we know there is a bug.
Regards, Michael