mirror of
https://github.com/coder/code-server.git
synced 2026-01-15 01:35:00 +08:00
Any json or urlencoded request bodies were being consumed by body-parser before they could be proxied. That's why requests without Content-Type were proxied correctly as body-parser would not consume their body. This allows the http-proxy package to passthrough the request body correctly in all instances. Closes #2377