#31508: ASGI Lifespan Support
-------------------------------+--------------------------------------
Reporter: Braunson | Owner: nobody
Type: New feature | Status: new
Component: HTTP handling | Version: 3.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Carlton Gibson):
* type: Uncategorized => New feature
* component: Uncategorized => HTTP handling
Comment:
Hi. I'm inclined to Accept this as a New Feature.
Lifespan is optional (IIUC) but I can imagine folks wanting to use it.
I can't immediately see where the right place for the hooks would be. I
guess I'd start with an ASGI middleware, at least as PoC.
Interested to see what Andrew thinks...?
(Seems a bit keen for uvicorn to **warn** over this, with that whole
''being optional'' thing... 🤔 — I guess you could pass `--lifespan=off`
maybe. )
--
Ticket URL: <https://code.djangoproject.com/ticket/31508#comment:2>
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/067.4f4400ad2fc30e36be09041b2ab3232d%40djangoproject.com.