Welcome! Log In Create A New Profile

Advanced

Accept PUT request without Content-Length

Posted by tebeka 
Accept PUT request without Content-Length
June 01, 2010 07:41PM
Currently PUT requests without Content-Length are rejected.

This makes proxying couchdb unusable since most client libraries generate such request when creating a database.
Also IMO Content-Length is not required on PUT requests in HTTP 1.1

The fix should be just delete lines 1514 to 1520 in ngx_http_request.c
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
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