Help for this page

Select Code to Download


  1. or download this
       my $qurl = 'legitmate url (tested -- fails for many)';
       my $uasnd = new HTTP::Request ('GET', $qurl);
    ...
       print STDERR "RES:  ".Dumper( $res )."\n";
       my $code= $res->code;  # RETURNS 500
       my $content= $res->content;  # NADA
    
  2. or download this
    RES:  $VAR1 = bless( {
            '_content' => '',
    ...
                                 }, 'HTTP::Request' )
          }, 'HTTP::Response' );