Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Need help with http 1.1 headers

by Khen1950fx (Canon)
on Mar 07, 2013 at 03:11 UTC ( #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 }, );


Comment on Re: Need help with http 1.1 headers
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-09-15 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls