nodejitsu/node-http-proxy — pull request #373 by philwhln (2013-02-06 18:58:20+00:00)
Title: Do not use "Transfer-Encoding: chunked" header for proxied DELETE requests.

We hit an issue with this node proxy. Webkit-based
browsers do not send Content-Length header when there
is no content for DELETE. DELETE requests have no
content, which causes node-http-proxy to add a
"Transfer-Encoding: chunked" header. This causes any
upstream Nginx server to fail with a 411.

Changes with nginx 0.3.12 26 Nov 2005

*) Bugfix: if the client sent the
"Transfer-Encoding: chunked" header
line, then nginx returns the 411 error.