nodejs/node

No content length on DELETE and OPTIONS

Open

#27.880 aperta il 26 mag 2019

Vedi su GitHub
 (26 commenti) (0 reazioni) (0 assegnatari)JavaScript (35.535 fork)batch import
confirmed-bughelp wantedhttp

Metriche repository

Star
 (117.218 star)
Metriche merge PR
 (Merge medio 18g 17h) (219 PR mergiate in 30 g)

Descrizione

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?

Guida contributor