You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
#20 was a bit haphazard, and might require a bit more tidying and thought.
As mentioned in the post-mortem comments there, we need to make sure that we're checking Content-Type, and developing a reasonable strategy for error handling. My knee-jerk reaction is that if the body content isn't parsable by whichever parser we infer from Content-Type, then we should actually raise a 422 Unprocessable Entity here, instead of propagating the request any further down the pipe.
The text was updated successfully, but these errors were encountered:
#20 was a bit haphazard, and might require a bit more tidying and thought.
As mentioned in the post-mortem comments there, we need to make sure that we're checking
Content-Type
, and developing a reasonable strategy for error handling. My knee-jerk reaction is that if the body content isn't parsable by whichever parser we infer fromContent-Type
, then we should actually raise a422 Unprocessable Entity
here, instead of propagating the request any further down the pipe.The text was updated successfully, but these errors were encountered: