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

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Mon, 24 Jan 2011 01:28:03 +0100

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.

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

Regards
Henrik
Received on Mon Jan 24 2011 - 00:28:08 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 24 2011 - 12:00:03 MST