Skip to main content

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.

Metadata

Release files for hea-aiohttp-remotes 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hea-aiohttp-remotes 1.2.1
File Size Uploaded
hea_aiohttp_remotes-1.2.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hea-aiohttp-remotes 1.2.1
File Interpreter ABI Platform
hea_aiohttp_remotes-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / hea_aiohttp_remotes-1.2.1.tar.gz

Download URL hea_aiohttp_remotes-1.2.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7e3b2d84edea8d3fb3abc99ecdc2a03db991c74a279922bc43c82ad02c813694
BLAKE2b-256 checksum
How to use checksums
88c8d14aee208c048c0a95600fdd0c38e297e604954036f278430c86be9cde4d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hea_aiohttp_remotes-1.2.1-py3-none-any.whl

Download URL hea_aiohttp_remotes-1.2.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43384503b79b0e5eed5be24a856b33ddf1e9bf00cb6abde958f1f579a643db1a
BLAKE2b-256 checksum
How to use checksums
11a46eb2ab82bfa96b4a9c16fb4af946d62b7610d615f8f55cd8e62b6db615ae
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page