Benoit Chesneau ce352dc230 fix(asgi): add chunked transfer encoding for streaming responses
Add chunked transfer encoding support to the ASGI worker for HTTP/1.1
streaming responses that don't have a Content-Length header. This fixes
SSE (Server-Sent Events) connections not closing properly.

Without chunked encoding or Content-Length, HTTP/1.1 clients wait for
the connection to close to determine end-of-response, causing streaming
endpoints to hang.

Also updates the celery_alternative example to use FastAPI with the
native ASGI worker and uvloop, demonstrating async task execution with
proper SSE streaming.
2026-02-02 10:13:33 +01:00
..
2024-04-22 03:33:14 +02:00
2024-04-22 03:33:14 +02:00
2024-04-22 03:33:14 +02:00
2024-04-22 03:33:14 +02:00
2014-02-20 02:00:23 -08:00
2024-04-22 03:33:30 +02:00
2024-04-22 03:33:30 +02:00
2018-06-17 13:19:42 -07:00
2012-12-14 10:22:05 +01:00
2012-12-14 10:22:05 +01:00
2024-04-22 03:33:14 +02:00
2024-04-22 03:33:14 +02:00