webapi
webapi copied to clipboard
request body parse error producing a 415 instead of 400 while forming the Request
When the request body has a proper accept header and then the parsing of request body fails, a 415 error code is produced. Since this is a bad request a 400 should be sent instead.