mirror of
https://github.com/coder/code-server.git
synced 2025-08-01 19:30:05 +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