Help for this page

Select Code to Download


  1. or download this
    verify_hostname => $bool
    
    When TRUE LWP will for secure protocol schemes ensure it connects to s
    +ervers that have a valid certificate matching the expected hostname. 
    +If FALSE no checks are made and you can't be sure that you communicat
    +e with the expected peer. The no checks behaviour was the default for
    + libwww-perl-5.837 and earlier releases.
    
  2. or download this
    my $ua = LWP::UserAgent->new( ssl_opts => { verify_hostname => 0 }, );