App-Slaughter
view release on metacpan or search on metacpan
lib/Slaughter/Transport/http.pm view on Meta::CPAN
my $ua;
if ( $LWP::UserAgent::VERSION < 6.00 )
{
$ua = LWP::UserAgent->new();
}
else
{
$ua = LWP::UserAgent->new( ssl_opts => { verify_hostname => 1 } );
}
#
# Use a proxy, if we should.
#
$ua->env_proxy();
#
# Make a request, do it in this fashion so we can use Basic-Auth if we need to.
#
( run in 0.336 second using v1.01-cache-2.11-cpan-73692580452 )