#34062: object HttpResponseNotAllowed can't be used in 'await' expression
---------------------------------+------------------------------------
Reporter: Antoine Lorence | Owner: nobody
Type: Bug | Status: new
Component: Generic views | Version: 4.1
Severity: Release blocker | Resolution:
Keywords: async | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Carlton Gibson):
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
Yes, looks right.
`http_method_not_allowed()` needs to be adjusted to handle both sync and
async cases in the same way as `options()`
Do you have capacity to do a patch quickly? (Otherwise I'll take it on.)
Thanks for the report!
Regression in 9ffd4eae2ce7a7100c98f681e2b6ab818df384a4.
--
Ticket URL: <https://code.djangoproject.com/ticket/34062#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070183886e790b-f16c3b7b-ba6a-4bf9-ad50-7c0f1dbabcef-000000%40eu-central-1.amazonses.com.