- 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;
- 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
- 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.
- or download this
my $ua = new LWP::UserAgent;
$ua->proxy([qw( https http )], "$proxy_ip:$proxy_port");
- or download this
-----------------------------------
--the good, the bad and the physi--
-----------------------------------