in reply to WWW::Mechanize and proxy with username/password
if ($opt_proxy) { my $h = "Proxy_Authorization"; my $req = new HTTP::Request; $req->proxy_authorization_basic($user, $passwd); $WWW::Mechanize::headers{$h} = $req->header($h); } # Then the rest of your program
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: WWW::Mechanize and proxy with username/password
by tilly (Archbishop) on Jun 26, 2003 at 19:55 UTC | |
by perlhack (Acolyte) on Jun 26, 2003 at 20:33 UTC |