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