Re: HTTP/1.1 support

Gisle Aas (gisle@activestate.com)
15 Mar 2001 19:43:55 -0800


Lionel Cons <lionel.cons@cern.ch> writes:

> I would need partial HTTP/1.1 support in order to have "keep alive"
> connections for a web proxy. It seems that libwww-perl 5 is almost up
> to the task because Bob McElrath's FilterProxy version 0.29 claims to
> work like that (see http://draal.physics.wisc.edu/FilterProxy/).
> Looking at his code, there are many things that really should be part
> of libwww-perl like the hack whith client protocol guessing or the
> 	${*$client}{'httpd_nomore'} = 0;
> line...

If somebody could provide a patch for HTTP::Daemon I would be
grateful.

> Now, for my needs, should I switch to libwww-perl 6 alpha or stay with
> libwww-perl 5? Who is working on HTTP/1.1 support in libwww-perl 5
> (the TODO file has "HTTP/1.1 support is on its way")?

It has said so for a long time :-)

> How can I help?

You want HTTP/1.1 client side support within the LWP5 framework?

I think the best route for that is to start writing a
LWP::Protocol::http11 module from scratch and then enable it like we
do for LWP::Protocol::GHTTP for a while.  When it is ready for it and
really stable we might let it replace the old LWP::Protocol::http
module.

The best way to help is probably just to start coding :-)

Regards,
Gisle