in reply to HTTP::Tiny ssl opt
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."
|
|---|