Re: [squid-users] Adding HTTP headers w/ Squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 17 Aug 2009 14:36:22 +1200

Kelly Jones wrote:
> On 8/13/09, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> > Kelly Jones wrote:
>>> I use squid, and want to add HTTP headers to all GET/POST requests I
>>> make, above/beyond the headers my browser + squid already send.
>>>
>>> Can squid do this?
>>>
>> Please explain why. Then we can point you at the right possible solution
>> to your problem. There are usually better ways to operate than adding
>> new HTTP headers.
>
> It's a bit controversial, but I want to add a X-Disclaimer header that
> says something like:
>
> X-Disclaimer: I reject your site's disclaimers.
>
> The actual disclaimer is multi-line.
>

You need to change the browser agent for that to be legal. Doing so in a
proxy has no bearing on the client visitor.

Take a look at writing an eCAP adaptor that adds the headers for you.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Mon Aug 17 2009 - 02:36:32 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 17 2009 - 12:00:03 MDT