"Brian J. Murrell" <[EMAIL PROTECTED]> writes:

> 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.  :-(

There is rarely response from them (perl CPAN module maintainer) but generally
the patch is integrated.

> 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.

I apply it.

> Much appreciated,

Much appreciated is to get patch :-)

François.

Reply via email to