Re: HELP: HTTP proxy authentication
Doug Monroe (monroe@lucent.com)
Thu, 20 May 1999 08:26:34 -0400
Aaron Aw wrote:
>
> Hi! I'm in dire need of a solution for my Perl code to retrieve a webpage
> through a user-authenticated Netscape proxy. Could someone please show me
> how or perhaps a code snippet on how this is done?
Try 'perldoc lwpcook'
and you'll find:
$req->proxy_authorization_basic("proxy_user", "proxy_password");
> Besides that also, how can we handle the normal website user authentication
> together with the http proxy authentication?
from same doc:
$req->authorization_basic('username', 'password');
--
Doug Monroe
Lucent Technologies