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 }, );

In reply to Re: Need help with http 1.1 headers by Khen1950fx
in thread Need help with http 1.1 headers by htmanning

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":