6👍
✅
Sorry, you cannot call coroutines from your wsgi application — WSGI is synchronous protocol, as well as frameworks built on top of it (Django, Flask, Pyramid).
I’ve implemented gaiohttp
worker but it’s second class citizen in asyncio world. If you really need asynchronous HTTP server please try aiohttp.web.
Source:stackexchange.com