Re: [squid-users] Prevent squid from adding headers

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 10 Dec 2011 00:28:01 +1300

On 9/12/2011 8:05 p.m., Jan van Riebeeck wrote:
> Hi list,
>
> I'm using squid proxy in a debugging context. So I've configured it to not cache anything. However, squid still adds headers to all my requests and responses. I'd like to see the response *exactly* as it came from the web server, and I'd like the web server to receive my request exactly as I sent it. This means I want squid not to add Via, X-Cache and X-Cache-Lookup headers.
>
> Answers I've read to this problem boil down to using header_access to strip out a header. However, if a response comes back with a via header from the loadbalancer at the server side, then I want to see it... So I don't want to ban the header, I just want squid to be absolutely silent.
>
> Is that possible without modifying the source?

With Squid-3.2 we have added debug level 11,2 with display of the
transaction details about exactly what is going over the network.

You will need the very latest daily 3.2 snapshot at present for highest
stability with the feature available.

Amos
Received on Fri Dec 09 2011 - 11:28:11 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 09 2011 - 12:00:03 MST