Skip to main content

Control remote side information.

Project description

The library is a set of useful tools for aiohttp.web server. It is a hopefully temporary fork of the aiohttp-remotes project containing a fix for parsing the X-Forwarded-Host header.

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

hea_aiohttp_remotes-1.2.1.dev0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

hea_aiohttp_remotes-1.2.1.dev0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file hea_aiohttp_remotes-1.2.1.dev0.tar.gz.

File metadata

  • Download URL: hea_aiohttp_remotes-1.2.1.dev0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10

File hashes

Hashes for hea_aiohttp_remotes-1.2.1.dev0.tar.gz
Algorithm Hash digest
SHA256 ba28c5cf343243823afeb5b8b71dcc094564a310d066fd47ac369b180e75a3d8
MD5 a1af3e33b5c9e6e1a34d507c68bbab3d
BLAKE2b-256 5f18f95af2b9a70e035643e0545af7559476480ce5da30e48009ae062a0565a9

See more details on using hashes here.

File details

Details for the file hea_aiohttp_remotes-1.2.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: hea_aiohttp_remotes-1.2.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10

File hashes

Hashes for hea_aiohttp_remotes-1.2.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1855f5f8f05d81758a7bb6e74de827feb72319d71341c3c62d93b63a9517cbe
MD5 ed565ad3cafe190f8c16d57b5aa0c0fa
BLAKE2b-256 b38982e132720b0368b9fae6a6f8ebad1d3a9c621c820965ee4bb39c8f7b3c11

See more details on using hashes here.

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