Ask HN | http compliance if post with content-length:0
I have a corner case :-)
A library client do a POST request on my server, with 2 headers : > Content-type: application/json > Content-length: 0
So ATM the server response is 400 (bad request) because json is invalid
So the question is : When the content-length of a request is 0, should we parse the body or not ?