mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-30 03:39:42 +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.