Vary: header in uncompressed response

Maxim Dounin mdounin at mdounin.ru
Sun Dec 19 21:55:14 MSK 2010


Hello!

On Sun, Dec 19, 2010 at 03:18:34PM +0000, Thomas Hühn wrote:

> I'musing nginx 0.6.32 (Debian stable)
> 
> Now that I have found "gzip_vary: on;" compressed representations are
> accompanied  by "Vary: accept-encoding".
> 
> But uncompressed representations are not. ANd they should be.
> 
> Is that a problem with the rather old nginx version or a misconfiguration?

http://nginx.org/en/CHANGES:

Changes with nginx 0.7.3
23 Jun 2008

...
    *) Change: now the "gzip_vary" directive turned on issues a 
       "Vary: Accept-Encoding" header line for uncompressed responses too.
...

Maxim Dounin



More information about the nginx mailing list