Skip to content

Conversation

philwhln
Copy link

@philwhln philwhln commented Feb 6, 2013

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants