Skip to content

POST Request with negative Content-Length leads to 500 status

Sending a request with negative Content-Length header leads to a 500 Internal Server Error. Error message is accompanied by an HTML error message.

This should be a 4xx status with a JSON error message.