Re: Adding a HTTP header

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 9 Dec 2003 01:20:16 +0100 (CET)

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
Received on Mon Dec 08 2003 - 17:20:25 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 24 2003 - 12:00:29 MST