Thanx for your response!
Your perldoc-grep command gives:
$h->remove_header('Connection'); # need support here to be usefull
Questions: Why does LWP always kill the connection headers? What is meant by
the comment 'need support here to be usefull' mentioned above? Can you
tell/point me to some docs where I can find information over how LWP manages
its connections? (when to keep open connection, when to close connection,
when to open new connection)
Thanx in advance,
Marco Kleefman
-----Original Message-----
From: Gisle Aas [mailto:[EMAIL PROTECTED]]
Sent: donderdag 14 juni 2001 18:07
To: Marco Kleefman
Cc: [EMAIL PROTECTED]
Subject: Re: Http-headers
Marco Kleefman <[EMAIL PROTECTED]> writes:
> (print $req->as_string) and the headers found by a sniffer... The
> headerfield 'Connection: Keep-Alive' cannot be found in the
sniffer-output,
> allthough the field 'Proxy-Authorization: Basic wkI7653B78axyt==' can be
> found.... Anybody any idea's why?
Normally LWP always kills the connection headers. Try to run:
$ perldoc -m LWP::Protocol::http | grep Connection
The new HTTP/1.1 protocol module adds its own keep-alive stuff if you
request it.
Regards,
Gisle