Skip to main content

Collection of useful middlewares 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

app = web.Application(
    middlewares=[timeout_middleware(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.0a2.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

aiohttp_middlewares-0.1.0a2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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