You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is related to PR #373 where this exact bug was already fixed by a89e2f2, but then later apparently introduced again by 8663ac1.
The actual problem is that DELETE requests with both Content-Length: 0 and Transfer-Encoding: chunked are illegal and are being rejected by some servers (in this case nodejs since v0.10.42). If the incoming request only has the Transfer-Encoding header the proxy will somehow automatically set the Content-Length header to 0 but won't remove the encoding header which leads to this issue.
The text was updated successfully, but these errors were encountered:
Turbo87
added a commit
to Turbo87/ember-cli
that referenced
this issue
Feb 13, 2016
node v0.10.42 is rejecting DELETE requests with both Content-Length: 0 and
Transfer-Encoding: chunked headers. We can force Content-Length: 0 to work
around the problem.
see http-party/node-http-proxy#960
and ladjs/superagent#236
This issue is related to PR #373 where this exact bug was already fixed by a89e2f2, but then later apparently introduced again by 8663ac1.
The actual problem is that
DELETE
requests with bothContent-Length: 0
andTransfer-Encoding: chunked
are illegal and are being rejected by some servers (in this case nodejs since v0.10.42). If the incoming request only has theTransfer-Encoding
header the proxy will somehow automatically set theContent-Length
header to0
but won't remove the encoding header which leads to this issue.The text was updated successfully, but these errors were encountered: