Lightweight asynchronous web server

As far as I can tell, aiohttp is currently a link for web servers built on asyncio . Despite the fact that this is an impressive part of the work, it doesn’t quite correspond to my specific taste: in addition to the web server, it is also an environment for web applications (with routing and everything), plus the API is heavy.

I would prefer something that is just an HTTP server providing a minimal interface (basically the equivalent of async WSGI). Is there such a thing already?

+7
python python-asyncio
source share
1 answer

Well, you can try the low-level aiohttp.server instead of aiohttp.web .

It does not have routes, intermediaries or other high-level materials. But you have to work with aiohttp low level abstractions like message, payload and response.

+4
source share

All Articles