-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replaced-http-statuses-with-HTTPStatus-from-http-stdlib #1174
replaced-http-statuses-with-HTTPStatus-from-http-stdlib #1174
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1174 +/- ##
=======================================
Coverage 97.86% 97.86%
=======================================
Files 109 109
Lines 8142 8153 +11
=======================================
+ Hits 7968 7979 +11
Misses 174 174 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only problem with this change is that some places that returned 400 BAD REQUEST
or 200 OK
as response content will now only return a response code (eg. 400
or 200
).
We could re-add HTTP_STATUS_X
constants to constants
but convert them into a HttpStatusResponse
enum with str values for plaintext responses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linters are failing
No description provided.