#36628: StreamingHttpResponse doesn't send final ASGI more_body=False signal
-------------------------------------+-------------------------------------
Reporter: LouisAmon | Owner: LouisAmon
Type: Bug | Status: assigned
Component: HTTP | Version: 5.2
handling | Keywords: streaming, vercel,
Severity: Normal | asgi
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Django's StreamingHttpResponse does not send the final ASGI
more_body=False
signal when streaming responses are exhausted.
This causes compatibility issues with ASGI servers like Vercel's custom
handler that require this
signal to properly finalize responses.
Reference:
https://github.com/vercel/vercel/blob/main/packages/python/vc_init.py#L646
--
Ticket URL: <https://code.djangoproject.com/ticket/36628>
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 visit
https://groups.google.com/d/msgid/django-updates/01070199886b47ac-84f538e5-0827-4fe3-a8ab-4463711f9503-000000%40eu-central-1.amazonses.com.