Hey Ben,

There is another option which is to use an ICAP server to modify the headers 
and strip the br part if exists.
It depends on the load on the server but you can edit only the headers and to 
not use any preview which will remove some un-needed overhead.

Take a peek at the example:
https://github.com/elico/bgu-icap-example


Eliezer

From: squid-users <squid-users-boun...@lists.squid-cache.org> On Behalf Of Ben 
Goz
Sent: Monday, March 11, 2024 5:00 PM
To: squid-users@lists.squid-cache.org
Subject: [squid-users] Manipulating request headers

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?

Thanks,
Ben

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to