Help for this page

Select Code to Download


  1. or download this
    C:/Perl64.v.5.14/bin\perl.exe -w c:/Projects/LWP/test.lwp.pl https://w
    +ww.google.ca
    2012/11/28 20:13:53> Request: POST https://www.google.ca,    User-Agen
    +t: libwww-perl/6.02,    Content-Length: 0,    Content-Type: applicati
    +on/x-www-form-urlencoded,    (no content)
    2012/11/28 20:13:53> Response last request: https://www.google.ca
    ...
    Header field names: Content-TypeClient-DateClient-Warning
    Previous: undef
    2012/11/28 20:13:53> The URL https://www.google.ca was not successfull
    +y retrieved.
    
  2. or download this
    $ua->ssl_opts( SSL_ca_file => Mozilla::CA::SSL_ca_file() );
    $ua->ssl_opts( verify_hostnames => 0 );