nodejs/node

No content length on DELETE and OPTIONS

Open

#27,880 opened on May 26, 2019

View on GitHub
 (26 comments) (0 reactions) (0 assignees)JavaScript (117,218 stars) (35,535 forks)batch import
confirmed-bughelp wantedhttp

Description

Looking through https://github.com/nodejitsu/node-http-proxy/commit/8a24a1e18f384d29a125eda1d2311bdd8ec66871 and reading through the node code. I do believe we have an unhandled case.

I believe we are missing something here: https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js#L349

To ensure content-length and transfer-encoding are correct.

Am I on to something or should I drop this?

Contributor guide