sdyates has asked for the wisdom of the Perl Monks concerning the following question:
but, I get:use LWP::UserAgent; $ua = new LWP::UserAgent; $ua->proxy(http => 'http://proxy.mgisoft.com:80'); my $req = new HTTP::Request ('GET', 'http://www.yahoo.com/'); $page = $ua->request($req)->as_string; print $page;
I must be missing something basic. I can't imagine I need a password as I am going through port 80. Please help, I have been working on this one for days! Thanks, SimonHTTP/1.1 407 (Proxy Authentication Required) Proxy Access Denied Date: Wed, 07 Feb 2001 17:04:47 GMT Proxy-Authenticate: NTLM Proxy-Authenticate: Basic realm="209.167.153.2" Server: Microsoft-IIS/4.0 Client-Date: Wed, 07 Feb 2001 17:07:57 GMT Client-Peer: 209.167.153.2:80 Client-Warning: Unsupported authentication scheme 'ntlm'
Edit: 2001-03-03 by neshura
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP through Proxy
by footpad (Abbot) on Feb 08, 2001 at 00:34 UTC | |
|
(tye)Re: LWP through Proxy
by tye (Sage) on Feb 07, 2001 at 22:31 UTC | |
|
Re: LWP through Proxy
by Caillte (Friar) on Feb 07, 2001 at 22:34 UTC |