On Mon, Dec 17, 2001 at 11:41:17AM +0100, Fran�ois Pons wrote:
> 
> > libwww-perl is up to version 5.63.  Can we have an update?
> 
> Yes, done.

Awesome.  Thanx.

There is one patch I would like to see applied though:

--- /usr/lib/perl5/site_perl/5.6.1/HTTP/Request/Common.pm       Thu Nov 15 11:12:15 
2001
+++ /tmp/bjm    Thu Nov 15 11:12:09 2001
@@ -87,6 +88,8 @@
                     length($content)) unless ref($content);
        $req->content($content);
+    } else {
+       $req->header('Content-Length' => 0);
     }
     $req;
 }

I have written the maintainer for libwww 3 times now regarding this
issue and there has been no response.  :-(

The issue is that Squid wants HTTP POST requests to contain a
Content-Length: header, even if it's value is 0.  Squid insists that
the header be there, even if there is no actual content.

If you could apply this patch to Mandrake's libwww that would be
great.

Much appreciated,
b.


-- 
Brian J. Murrell

Reply via email to