mirror of
https://github.com/suitenumerique/docs.git
synced 2026-10-17 13:45:31 +02:00
When docs is ran using an ASGI server, the django StreamingHttpResponse expect to consume an async generator. If a sync generator is used, it fully consumes it and then return all the content and we loose the benefits of using a StreamingHttpResponse.