[Fixed]-How do I yield to another request when using gunicorn with asyncio?


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.

Leave a comment