http://www.perlmonks.org?node_id=1022134


in reply to Need help with http 1.1 headers

Use keep_alive => 1 in the constructor. It'll setup a conncache and enable HTTP/1.1.
#/usr/bin/perl use strict; use warnings; use LWP::Useragent; my $ua = LWP::UserAgent->new( keep_alive => 1, ssl_opts => { verify_hostname => 1 }, );