Re: Query regarding HTTP Request

From: Vinayak Samak <vs.samak_at_gmail.com>
Date: Tue, 10 Apr 2012 13:33:34 +0530

Thanks Alex for quick replay.
Definitely I would like to work on this part.
Please provide me starting point for the same.
Whenever I will get time I will work on this and will be in touch with
squid-dev team for problems/queries.

Thanks
Vinayak

On Tue, Apr 10, 2012 at 5:37 AM, Alex Rousskov <
rousskov_at_measurement-factory.com> wrote:

> On 04/09/2012 08:00 AM, Vinayak Samak wrote:
>
> > In SQUID 2.6 there is option to replace http header (header_replace).
> > So is there any specific reason header_add is not present in squid.conf
> > to add missing / absent http header keys in header of http request?
>
> Hello Vinayak,
>
> There are options to add various semi-standard headers such as
> X-Forwarded-For. More such options/headers can be added if needed.
>
> For really custom headers, constant (i.e., hard-coded in squid.conf)
> values and "always-add" behavior is usually not sufficient because most
> applications require the values to be computed for each transaction,
> received values to be deleted or appended to, etc. Most users start with
> a constant header idea but eventually realize that they would be better
> off with adding custom headers using ICAP or eCAP interfaces, where they
> can implement header-specific logic.
>
> Said that, the demand for a generic option to add a custom header never
> goes away so I suspect it will eventually be added. If you would like to
> work on the corresponding source code changes, please say so and I will
> post some related notes that you can use as a starting point.
>
>
> HTH,
>
> Alex.
>

-- 
*Thanks
*
***Vinayak S. Samak
*
*Please don't print this Email unless you really need to. This will
preserve trees on planet earth.*
*Save Electricity, Water & Paper!! Go green for better tomorrow :)
*
*[image: See full size image]*
*
*

image005.jpg
Received on Tue Apr 10 2012 - 08:03:43 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 13 2012 - 12:00:09 MDT