#33699: Read ASGI request body from asyncio queue on-demand -------------------------------+------------------------------------ Reporter: Noxx | Owner: noneNote Type: New feature | Status: closed Component: HTTP handling | Version: dev Severity: Normal | Resolution: wontfix Keywords: ASGI, async | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------------------ Comment (by Carlton Gibson):
> What does "disconnect handling" mean in this context? It means responding appropriately to the the [https://asgi.readthedocs.io/en/latest/specs/www.html#disconnect-receive- event ASGI `http.disconnect` event] that is sent on the `receive` queue in the case that the client disconnects, whilst (for example) a long running task is in process. (Correctly responding to this is needed to allow applications to cancel and clean up such long running tasks.) > Anyway, this is moving into... OK, I wish you good luck with your search. If you wanted to explore options here then a Proof-of-Concept plus a discussion on the asgiref repo would be the appropriate way forward. -- Ticket URL: <https://code.djangoproject.com/ticket/33699#comment:11> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070190a60d1cd5-92d3d1a5-2002-4ee3-8416-4f7bc2cb7d0f-000000%40eu-central-1.amazonses.com.