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
Any concerns against adding a http exception class for this status code?
Right now aborting fails with a LookupError: no exception for <HTTPStatus.MISDIRECTED_REQUEST: 421> error if you try
abort(http.HTTPStatus.MISDIRECTED_REQUEST)
The Aborter class can be enriched to feature extra status codes and the Response class can be used to return arbitrary status codes and messages. But wouldn't it make sense that this http exception was featured out of the box?
The text was updated successfully, but these errors were encountered:
Related: #1256
Any concerns against adding a http exception class for this status code?
Right now aborting fails with a
LookupError: no exception for <HTTPStatus.MISDIRECTED_REQUEST: 421>
error if you tryThe
Aborter
class can be enriched to feature extra status codes and theResponse
class can be used to return arbitrary status codes and messages. But wouldn't it make sense that this http exception was featured out of the box?The text was updated successfully, but these errors were encountered: