Hello, I would like to force "get" of package www::mechanize to use http/1.0 How can i do that ? My current code is:
my $mech = WWW::Mechanize->new(); $mech->get ("$url");
It sounds easy but I can't seem to find the solution. Please help! Thanks
Solution:
use WWW::Mechanize; require LWP::Protocol::http10; LWP::Protocol::implementor('http', 'LWP::Protocol::http10');
In reply to use HTTP/1.0 instead of HTTP/1.1 in WWW::Mechanize by perl_help26
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |