From looking at the ->as_string source, you need the un(der)documented ->protocol method:
perl -MHTTP::Request -e "$r=HTTP::Request->new(GET => 'http://perlmonk +s.org');$r->protocol('HTTP/1.1');print $r->as_string" GET http://perlmonks.org HTTP/1.1
In reply to Re: Trying to get HTTP/1.1 at end of request
by Corion
in thread Trying to get HTTP/1.1 at end of request
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |