Help for this page

Select Code to Download


  1. or download this
    HTTP/1.1 407 (Proxy Authentication Required) Proxy Access Denied
       # stuff we don't need to know deleted.
       Proxy-Authenticate: NTLM 
       Proxy-Authenticate: Basic realm="..."
       Client-Warning: Unsupported authentication scheme 'ntlm'
    
  2. or download this
       use LWP::UserAgent; 
       $ua = new LWP::UserAgent;
       $ua->proxy(http => 'http://proxy.example.com:80'); 
    ...
       my $req = new HTTP::Request ('GET', 'http://www.yahoo.com/'); 
       $page = $ua->request($req)->as_string; 
       print $page;