laziness, impatience, and hubris | |
PerlMonks |
Re: authenticate to a proxy server [Again!]by integral (Hermit) |
on Feb 22, 2003 at 18:40 UTC ( [id://237786]=note: print w/replies, xml ) | Need Help?? |
If you want to use the LWP::UserAgent module which is a popular way of performing HTTP requests in perl, then the answer can be found in its lwpcook pod. You either use the HTTP_PROXY environment variable or the proxy method on the object. In both you need to use the http://username:password@host:port/ url format to encode your proxy username and password, the port number is optional.
In Section
Seekers of Perl Wisdom
|
|