I think you might be doing things in either the wrong place or the wrong time...
If you want to delete from the ServerResp you need to do it during 
READ_RESPONSE_HDR, if you only really want to change the response to the 
client, then you want to delete from ClientResp.  (Note that the body may still 
be in transit during any of the stages until TXN_CLOSE, so you still may not be 
able to do what you want.)  If you want to change headers after seeing some of 
the content, you probably just have to read it in, and pass it along, probably 
using a second request TSHttpConnect() or some such (and a ServerIntecept()).  
But maybe you can Halt the transaction and still see the beginning of the body, 
and then Unhalt after editing the headers, you would have to try it and see.

-William

Reply via email to