- or download this
use LWP::UserAgent;
use strict;
...
print $res->headers_as_string;
print $res->content;
- or download this
Connection: close
Date: Thu, 16 Jun 2011 14:22:46 GMT
...
Client-SSL-Warning: Peer certificate not verified
Client-Transfer-Encoding: chunked
Content-Style-Type: text/css
- or download this
Content-Type: text/plain
Client-Date: Thu, 16 Jun 2011 14:26:04 GMT
Client-Warning: Internal response
Can't connect to www.easysoft.com:443
- or download this
Content-Type: text/plain
Client-Date: Thu, 16 Jun 2011 14:26:52 GMT
...
Can't connect to www.easysoft.com:443 (certificate verify failed)
LWP::Protocol::https::Socket: SSL connect attempt failed with unknown
+errorerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certific
+ate verify failed at /home/martin/perl5/perlbrew/perls/perl-5.14.0/li
+b/site_perl/5.14.0/LWP/Protocol/http.pm line 51.