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?

貢獻者指南