Fix BadRequest raised with empty body and application/json content type
Merge pull request #366 from noirbizarre/fix-json-empty

Fix BadRequest raised with empty body and application/json content type