Help for this page

Select Code to Download


  1. or download this
    Error: 401 Access Denied
    HTTP/1.1 401 (Unauthorized) Access Denied
    ...
    Client-Date: Sun, 19 Jan 2003 17:11:10 GMT
    Client-Peer: MYIP:80
    Client-Warning: Unsupported authentication scheme 'ntlm'
    
  2. or download this
    my $ua = new LWP::UserAgent;
    my $req = new HTTP::Request 'GET', 'http://mydomain.com/';
    ...
             print "Error: " . $resp->status_line . "\n";
             print $resp->as_string;
      }