Skip to main content

Control remote side information.

Project description

The library is a set of useful tools for aiohttp.web server.

The full list of tools is:

  • AllowedHosts – restrict a set of incoming connections to allowed hosts only.

  • BasicAuth – protect web application by basic auth authorization.

  • Cloudflare – make sure that web application is protected by CloudFlare.

  • ForwardedRelaxed and ForwardedStrict – process Forwarded HTTP header and modify corresponding scheme, host, remote attributes in strong secured and relaxed modes.

  • Secure – ensure that web application is handled by HTTPS (SSL/TLS) only, redirect plain HTTP to HTTPS automatically.

  • XForwardedRelaxed and XForwardedStrict – the same as ForwardedRelaxed and ForwardedStrict but process old-fashion X-Forwarded-* headers instead of new standard Forwarded.

Read https://aiohttp-remotes.readthedocs.io for more information.

The library was donated by Ocean S.A. https://ocean.io/

Thanks to the company for contribution.

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_remotes-1.2.0.tar.gz (596.5 kB view hashes)

Uploaded source

Built Distribution

aiohttp_remotes-1.2.0-py3-none-any.whl (12.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page