in reply to Re^4: Setting HTTP Protocol Version
in thread Setting HTTP Protocol Version
This code would connect to server.local using HTTP/1.0 instead of HTTP/1.1.use LWP; require LWP::Protocol::http10; LWP::Protocol::implementor('http', 'LWP::Protocol::http10'); my $ua = LWP::UserAgent->new(); $ua->get('http://server.local/foo');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Setting HTTP Protocol Version
by wagnerc (Sexton) on Aug 28, 2009 at 12:19 UTC |