nodejs/node

No content length on DELETE and OPTIONS

开放

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

 (26 条评论) (0 个反应) (0 位负责人)JavaScript (35,535 个派生)batch import
confirmed-bughelp wantedhttp

仓库指标

星标
 (117,218 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南