[squid-users] Manipulating request headers

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Wed Mar 13 09:10:32 UTC 2024


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-bounces at lists.squid-cache.org> On Behalf Of Ben Goz
Sent: Monday, March 11, 2024 5:00 PM
To: squid-users at 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



More information about the squid-users mailing list