[squid-users] Manipulating request headers

Amos Jeffries squid3 at treenet.co.nz
Mon Mar 11 15:18:24 UTC 2024


On 12/03/24 04:00, Ben Goz wrote:
> By the help of God.
> 
> Hi all,
> I'm using squid with ssl-bump I want to remove br encoding for request 
> header Accept-Encoding
> currently I'm doing it using the following configuration:
> request_header_access Accept-Encoding deny all
> request_header_add Accept-Encoding gzip,deflate
> 
> Is there a more gentle way of doing it?

You could use q-value to prohibit it instead.


Replace both the above lines with just this one:

  request_header_add Accept-Encoding br;q=0


HTH
Amos


More information about the squid-users mailing list