#33735: Add asynchronous responses for use with an ASGI server
--------------------------------+------------------------------------------
     Reporter:  florianvazelle  |                    Owner:  Carlton Gibson
         Type:  New feature     |                   Status:  assigned
    Component:  HTTP handling   |                  Version:  4.0
     Severity:  Normal          |               Resolution:
     Keywords:  ASGI async      |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------------
Changes (by Carlton Gibson):

 * has_patch:  0 => 1


Comment:

 I've opened [https://github.com/django/django/pull/16384 an initial PR
 here], outlining the approach from comment:8.

 For the basic example, streaming an async generator, it works well, with
 both Daphne and Uvicorn.

 Still need to think about `streaming_content` (for wrapping by middleware)
 and aclosing usage, but I wanted to open sooner to enable feedback.
 (`python -X dev ...` FTW :)

 All eyes welcome. 🙏

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33735#comment:16>
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/010701851068eab8-dd06c838-45ad-44eb-98bd-ab1df04d1ce2-000000%40eu-central-1.amazonses.com.

Reply via email to