Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    
    ...
    my $req = HTTP::Request->new'GET',"https://url.name.de/");
    my $res = $ua->request($req);
    print $res->content;
    
  2. or download this
    LWP::UserAgent::new: ()
    LWP::UserAgent::request: ()
    ...
    LWP::UserAgent::_need_proxy: Not proxied
    LWP::Protocol::http::request: ()
    LWP::UserAgent::request: Simple response: Internal Server Error
    
  3. or download this
              For native Crypt::SSLeay proxy support of https requests,
              you need to set an environment variable HTTPS_PROXY to your
    ...
              For an example of LWP scripting with Crypt::SSLeay native
              proxy support, please see the source of the ./lwp-ssl-test
              script in the Crypt::SSLeay distribution.
    
  4. or download this
    my $ua = new LWP::UserAgent;
    $ua->proxy([qw( https http )], "$proxy_ip:$proxy_port");
    
  5. or download this
    -----------------------------------
    --the good, the bad and the physi--
    -----------------------------------