Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: LWP issuing two CONNECT requests when only one is asked for?

by mpeters (Chaplain)
on Apr 04, 2005 at 17:22 UTC ( #444737=note: print w/ replies, xml ) Need Help??


in reply to LWP issuing two CONNECT requests when only one is asked for?

It looks like the site in question is sending you a redirect and LWP is following that redirect. The 403 isn't a error on the LWP side since the server is actually sending that.


Comment on Re: LWP issuing two CONNECT requests when only one is asked for?
Re^2: LWP issuing two CONNECT requests when only one is asked for?
by mickey (Acolyte) on Apr 04, 2005 at 17:35 UTC

    But the reply from the server to the initial CONNECT is 200 OK, not 302 Found or some other redirect code -- I don't think LWP would interpret that as a redirect, would it?

    Also, the 403 seems to be coming from the proxy rather than the remote server. Obviously all the traffic is coming from the proxy, so I can't tell that way, but because the preceding CONNECT is to the proxy server rather than the remote server I would guess the response comes from the proxy as well.

    And the text of the HTML page returned along with the 403 response seems to indicate it's coming from our proxy, unless the remote site is running the same type of web proxy.

    So I'm a little doubtful of your answer, although I appreciate your help!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://444737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-07-28 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls