in reply to Re^4: Direct a LWP connection to a different host
in thread Direct a LWP connection to a different host

Good point, this may not work with every HTTP server out there.

all of the servers i've ever seen (that understand HTTP/1.1) use the Host header to determine the virtual host, and ignore the hostname from the request line. but there is no garuntee that that's tru for *ALL* HTTP servers.

  • Comment on Re^5: Direct a LWP connection to a different host