[squid-users] Prevent squid from adding headers

From: Jan van Riebeeck <vanriebeeckjan_at_gmail.com>
Date: Fri, 9 Dec 2011 08:05:09 +0100

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?

Best,

-- jan
Received on Fri Dec 09 2011 - 07:05:18 MST

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