On tis, 2007-08-07 at 11:44 +0300, Elmo Todurov wrote:
> I want to add a header of my own into all HTTP requests.
> 
> I took the location rewriting code as a template and was quite successful -- 
> I 
> can get the data I need, shell it out to an external program and take it back 
> in. However, I have a hunch that the rewriting/header-adding is called too 
> late, or something in that spirit. Location rewriting is called in 
> clientSendMoreHeaderData.

location header rewriting is rewriting of a response header, way too
late if you want to rewrite some request header. Hooking in at
clientRedirectDone is probably a more appropriate place for rewriting
request headers in a similar manner.

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to