nodejs/node

No content length on DELETE and OPTIONS

Open

#27,880 创建于 2019年5月26日

在 GitHub 查看
 (26 评论) (0 反应) (0 负责人)JavaScript (117,218 star) (35,535 fork)batch import
confirmed-bughelp wantedhttp

描述

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?

贡献者指南