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.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hea_aiohttp_remotes-1.2.1.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.tar.gz
Algorithm Hash digest
SHA256 7e3b2d84edea8d3fb3abc99ecdc2a03db991c74a279922bc43c82ad02c813694
MD5 2806410d83a935a6eb9e6e33fc000007
BLAKE2b-256 88c8d14aee208c048c0a95600fdd0c38e297e604954036f278430c86be9cde4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hea_aiohttp_remotes-1.2.1-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-py3-none-any.whl
Algorithm Hash digest
SHA256 43384503b79b0e5eed5be24a856b33ddf1e9bf00cb6abde958f1f579a643db1a
MD5 13ccf750a2b0b78e7aec384ce77129c3
BLAKE2b-256 11a46eb2ab82bfa96b4a9c16fb4af946d62b7610d615f8f55cd8e62b6db615ae

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