Re: HTTP::Headers - remove_header not removing header?

2004-01-14 Thread Phil Thompson
Gisle, First, let me say thanks for some great modules! There is actually no easy way to do that. They are inserted by the protocol module when it feels they are appropriate. Can you explain why you need them to to go away? I need them to go away because I want Perl to look just like an

Re: HTTP::Headers - remove_header not removing header?

2004-01-14 Thread Gisle Aas
Phil Thompson [EMAIL PROTECTED] writes: There is actually no easy way to do that. They are inserted by the protocol module when it feels they are appropriate. Can you explain why you need them to to go away? I need them to go away because I want Perl to look just like an application that

Re: HTTP::Headers - remove_header not removing header?

2004-01-14 Thread Phil Thompson
Seems like you can try to push (PeerHTTPVersion = 1.1) onto the @EXTRA_SOCK_OPTS to supress this one as well. That did the trick! thanks! So you are not on friendly terms with the server you are trying to access then. Oh well,... It isn't really a matter of being friendly. I can use a crappy

Re: HTTP::Headers - remove_header not removing header?

2004-01-13 Thread Gisle Aas
Phil Thompson [EMAIL PROTECTED] writes: From the code below, I'm expecting the following headers: Host: www.yahoo.com User-Agent: Squid 3.92 But I'm getting the following (when I use a sniffer): TE: deflate,gzip;q=0.3 Connection: TE, close Host: www.yahoo.com User-Agent: