Regarding your question, when would squid send a reply header to a Web server? I think I will only need request headers.
Well, I have found the requestCreate function and theoretically can use that, but that would not allow me to set it only if the peer is the original webserver and squid is contacting it directly, right? Thank you for your help, Daniel Brodie ---- Original message ---- >Date: Fri, 5 Dec 2003 23:09:23 +0100 (CET) >From: Henrik Nordstrom <[EMAIL PROTECTED]> >Subject: Re: Adding a HTTP header >To: Daniel A Brodie <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED] > >On Fri, 5 Dec 2003, Daniel A Brodie wrote: > >> I am trying to implement some additions to squid-2.5, and one >> part of that is adding an HTTP header option based on certian >> peer options. (To be specific when the hier_code is DIRECT). >> What funtion(s) should I look at to put the code into? > >Is it a request header or a reply header? > >Regards >Henrik >
