#32798: StreamingHttpResponse raises SynchronousOnlyOperation in ASGI server
--------------------------------+-----------------------------------------
     Reporter:  Ralph Broenink  |                    Owner:  Michael Brown
         Type:  Bug             |                   Status:  assigned
    Component:  HTTP handling   |                  Version:  3.2
     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
--------------------------------+-----------------------------------------

Comment (by Michael Brown):

 New pull request for the simple fix of wrapping the streaming response
 code in `sync_to_async` and using `sync_to_async(send)`.

 https://github.com/django/django/pull/14652

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32798#comment:8>
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/065.c8b8fbe41c68935239ce81e7389cae33%40djangoproject.com.

Reply via email to