update d'oh! I completely got the question backwards. The below can be ignored./update
According to the docs, it's reasonably similar (untested):
use warnings; use strict; use LWP::UserAgent; my $ua = LWP::UserAgent; $ua->ssl_opts(verify_hostname => 0);
The same section of the documentation linked to above, also states:
"This option is initialized from the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable. If this environment variable isn't set; then verify_hostname defaults to 1."
In reply to Re: HTTP::Tiny ssl opt
by stevieb
in thread HTTP::Tiny ssl opt
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |