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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiohttp-middlewares-0.1.0a2.tar.gz.
File metadata
- Download URL: aiohttp-middlewares-0.1.0a2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec27960e16f31407ebea9e1f4a5b106f268bd0077c4ad618c9ba6ed7e207200
|
|
| MD5 |
a4495d9dc446f61258cde4c1ffbba05d
|
|
| BLAKE2b-256 |
f4e48f14f8a9e8ad5771f79a29c88a2bce4e88b644dc219267d532388ae96956
|
File details
Details for the file aiohttp_middlewares-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: aiohttp_middlewares-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7f61bdedd1903dab115e198d64cb46494a8c6407af0d0b5d11d1d93a9d69f8f
|
|
| MD5 |
f41ce13dc10edae58809332e5711392a
|
|
| BLAKE2b-256 |
9943cab2c7990fa2626e1b41b4fdacba069bc252b9faedcdae40138e4783deeb
|