Hi Henrik,

Thank you for the clarification. 

Do you know any other approach (or tool) that can help me to replace the
accept-encoding header before it is processed by Squid?

Regards,
 Chris

 
> -----Original Message-----
> From: Henrik Nordstrom [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 21, 2008 3:08 PM
> To: Christian Tzolov
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] Override the Accept-Encoding value
> 
> On tis, 2008-10-21 at 14:55 +0200, Christian Tzolov wrote:
> > Hi all,
> >
> > I would like to reduce the diversity of Accept-Encoding request
header
> > values by replacing the header with a hardcoded value like:
> > "gzip,deflated".
> >
> > In Squid 2.6 there are two directives that seems sutible for the
job:
> > header_access and heaer_replace. Will the following configuration do
the
> > job?
> >
> > header_access Accept-Encoding deny all
> > header_replace Accept-Encoding gzip,deflated
> >
> > If yes are they replaced before or after squid cache the entry?
> 
> heder_access/replace is only applied on forwarded requests, modifying
> the headers as sent by Squid. They do not modify Squid's own view of
> received headers.
> 
> Regards
> Henrik

Reply via email to