Closed stuartc closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.70%. Comparing base (
ec9e9cd
) to head (1b01055
).:exclamation: Current head 1b01055 differs from pull request most recent head c390e3d
Please upload reports for the commit c390e3d to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Validation Steps
You should see:
{"error":"Unsupported Media Type"}
as the response.Notes for the reviewer
Users that send data without a supported mime type cause exceptions to be raised because the controller tries to encode the request body (which is
Unfetched
).Instead of throwing an exception, we should return a 415 error.
Related issue
Fixes #2180
Review checklist
:owner
,:admin
,:editor
,:viewer
) have been implemented and tested