Collection of useful middlewares for aiohttp appliactions
Project description
Collection of useful middlewares for aiohttp applications.
List of middlewares
Timeout
Do not allow request handling exceed X seconds.
from aiohttp import web
from aiohttp_middlewares import timeout_middleware
app = web.Application(
middlewares=[timeout_middleware(29.5, ignore={'/slow-url'})])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aiohttp-middlewares-0.1.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec27960e16f31407ebea9e1f4a5b106f268bd0077c4ad618c9ba6ed7e207200 |
|
MD5 | a4495d9dc446f61258cde4c1ffbba05d |
|
BLAKE2b-256 | f4e48f14f8a9e8ad5771f79a29c88a2bce4e88b644dc219267d532388ae96956 |
Close
Hashes for aiohttp_middlewares-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f61bdedd1903dab115e198d64cb46494a8c6407af0d0b5d11d1d93a9d69f8f |
|
MD5 | f41ce13dc10edae58809332e5711392a |
|
BLAKE2b-256 | 9943cab2c7990fa2626e1b41b4fdacba069bc252b9faedcdae40138e4783deeb |