Hi Gisle,

[What else do you want to do?]

I just want to imitating the IE5 that do HTTP/1.1 handler. I had a  negative
responds from some servers that do authorize on the first line in request
header.

Here is an example:
=====================
use LWP;

require 'dumpvar.pl';

$ua = LWP::UserAgent->new;
$ua->proxy('http' => 'http://wwwproxy');
$ua->agent('Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)');

#    # How can I use those line below in my script?

#    require LWP::Protocol::GHTTP;
#    LWP::Protocol::implementor('http', 'LWP::Protocol::GHTTP');

#    #

$req = HTTP::Request->('GET', 'http://www.jubii.dk');
$pro = $ua->request($req);

[...]

Reply via email to