'Content-Length' header for POSTs

Igor Sysoev is at rambler-co.ru
Tue Jul 28 15:22:05 MSD 2009

On Tue, Jul 28, 2009 at 11:25:41AM +0100, Joe Jacobs wrote:

> Thank you for the replies Maxim and Igor.
> I have version 0.7.61 installed. My query was actually regarding the
> following change in version 0.7.25
> *) Change: now POSTs without "Content-Length" header line are allowed.
> >
> >
> Shouldn't this mean that the request in my previous email be valid?

No, this means that before nginx supported POSTs without body only with
"Content-Length: 0" header line. Since 0.7.25 nginx supports such POSTs
without the header. However, nginx never supported chunked client bodies.

Igor Sysoev

More information about the nginx mailing list