Skip to main content

Collection useful middleware for aiohttp appliactions.

Project description

CircleCI Latest Version Python versions BSD License Coverage

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_factory

app = web.Application(
    middlewares=[
        timeout_middleware_factory(29.5, ignore=['/slow-url']),
    ])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiohttp-middlewares-0.1.0a1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

aiohttp_middlewares-0.1.0a1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file aiohttp-middlewares-0.1.0a1.tar.gz.

File metadata

File hashes

Hashes for aiohttp-middlewares-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 a648c0f64080e02df9bcc27e02dfab23783b85a4c6f6e5aed3ec61fc4d080c94
MD5 d20df4a4bc143ff156c608e6c232bca5
BLAKE2b-256 60e5c26278f80807c6b43a8d595d0c72b4ac097662f0528b83c0879ceb7907fb

See more details on using hashes here.

Provenance

File details

Details for the file aiohttp_middlewares-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for aiohttp_middlewares-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c71d7014cf04761ff1243ec0cbadc6cd544f6686f5e735a333578d59ef2fc4
MD5 9d18edda9388e8b979ae30e193837d08
BLAKE2b-256 aed782b8e45d439a1e96cbc49b1c8a05dc0b13e45b5db3aa75a206765a4c86b0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page