Welcome! Log In Create A New Profile

Advanced

411 Length Required error

Evert | FM
August 19, 2009 08:46PM
Hey guys,

I'm the author of SabreDAV (http://code.google.com/p/sabredav/) and
today I got a bug report regarding Nginx.

Finder will do a PUT request in some cases, without a Content-Length
header. It does send the data 'Chunked'.
As far as I can tell this is a legal request for HTTP/1.1.

I've noticed this question has been asked a few times on this list,
but I could not find satisfying answer or bug tracker. Is there a bug
tracker of some sort for Nginx?

Are you guys aware of this issue?

There was another issue (less important), but I wanted to throw it out
there. When a request (such as MOVE) generates an empty response-body,
and there is no Content-Length, nginx will effectively hang until the
HTTP keepalive timeout is reached. This was easily fixed by adding
Content-Length: 0, but I wanted to mention it because Apache adds this
automatically, so it might help for better compatibility. Note that
this is all PHP.

The last one, but this might have been fixed. I tested Nginx a while
back, and it didn't seem to have support for the Expect: 100-continue
header. I'm just curious if this has been fixed since then. I've
noticed certain .NET HTTP clients use this header.

Evert
Subject Author Posted

411 Length Required error

Evert | FM August 19, 2009 08:46PM

Re: 411 Length Required error

Maxim Dounin August 20, 2009 04:11AM

Re: 411 Length Required error

Evert Pot August 20, 2009 11:17AM

Re: 411 Length Required error

Loren D. December 15, 2011 07:30PM

Re: 411 Length Required error

Loren D. December 15, 2011 07:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready