Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Need help with http 1.1 headers

by Khen1950fx (Canon)
on Mar 07, 2013 at 03:11 UTC ( [id://1022134]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022134]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-26 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found