Search squid archive

Re: Missing content-length header for POST and PUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux