Re: [squid-users] Missing content-length header for POST and PUT

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 25 Jan 2011 02:01:53 +1300

On 24/01/11 13:28, Henrik Nordström wrote:
> fre 2011-01-21 klockan 05:45 +1300 skrev Amos Jeffries:
>
>> "empty"? No. If they have no content length indicated they have to be
>> assumed as being infinite length transfers. HTTP specs require this 411
>> reply message.
>
> Not quite. Requests without an entity is always headers-only. The
> infinite length is only on responses.

Doh. Of course they are. Thanks for that.

>
>> The client software is *supposed* to add a length and retry.
>
> Yes.
>
> But to be honest we do not really need to check that POST/PUT have a
> request entity. This is mostly a relic from way back when request
> entities were handled very special.
>

Can I expect a patch soon then?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Mon Jan 24 2011 - 13:02:04 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 25 2011 - 12:00:03 MST