On Mon, 8 Dec 2003, Daniel A Brodie wrote:

> Regarding your question, when would squid send a reply header
> to a Web server?
> I think I will only need request headers.

Headers in the request is 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?

What you are looking for is httpBuildRequestHeader(). This function builds 
the set of request headers which will be sent to the peer or origin 
server. 

Regards
Henrik

Reply via email to