Re: [squid-users] Squid return compressed page even when the request does not contains Accept-Encoding header

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 24 Jun 2008 08:43:21 +0200

On tis, 2008-06-24 at 09:25 +0300, Dror Galron wrote:
> I'm using Squid version 2.6 stable 12.
>
> When initially requesting the page http://ads1.msn.com/library/dap.js
> with Accept-Encoding: gzip, I get the response properly. At the second
> time, when requesting the same object with no Accept-Encoding header
> at the request, I get again, the compressed response internally from
> the cache. My browser is unable to parse this response.

This is because there is no "Vary: Accept-Encoding" in the servers
response heders, which means that the server claims that the gzip
encoded variant is all there is.

Regards
Henrik

Received on Tue Jun 24 2008 - 06:43:26 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 24 2008 - 12:00:08 MDT