[squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Tue Dec 27 13:13:50 UTC 2016


Hey dudes, thanks for the replies..

Client GET say it won't accept any encoding format. Why is squid 
compressing it and sending as compressed to a client that explicity says 
it doesn't accept encoding?

Is this really correct? Because no browser is liking it here. Even more, 
I think no data is sent back to the browser, as "Content-Length = 0"


-- 
Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751


Em 27/12/2016 09:00, Amos Jeffries escreveu:
> On 2016-12-27 13:07, Alex Rousskov wrote:
>> On December 26, 2016 10:11:55 AM Heiler Bemerguy wrote:
>>
>>> *Accept-Encoding: none*
>>
>>> *Content-Encoding: gzip*
>>
>> These are end-to-end headers. Squid does not modify or add them
>> (unless you tell it to do that).
>>
>> The origin server does not honor the bogus "none" content coding
>> requested by the client.
>>
>
> More importantly there is no Vary header. The origin server is 
> claiming to produce *only* the one response object. That happens to be 
> in gzip encoded format.
>
> Since there are no other variants, the client Accept-* headers do not 
> matter. Simple as that.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list