This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
POSTing JSON without specifying content-type header throws 500 #1
Labels
bug
Something isn't working
POSTing JSON without explicitly setting a
Content-Type: application/json
causes the request to bomb with the following stack trace.We should either give a 400 bad request error that describes the request must include this specific content-type header, or we could sniff the payload and if it parses as JSON let it by.
The text was updated successfully, but these errors were encountered: