Return 400 when an empty Content-Type header passed to the API causes a JSONDecodeError (bug 862600)