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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hea_aiohttp_remotes-1.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e3b2d84edea8d3fb3abc99ecdc2a03db991c74a279922bc43c82ad02c813694 |
|
MD5 | 2806410d83a935a6eb9e6e33fc000007 |
|
BLAKE2b-256 | 88c8d14aee208c048c0a95600fdd0c38e297e604954036f278430c86be9cde4d |
Hashes for hea_aiohttp_remotes-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43384503b79b0e5eed5be24a856b33ddf1e9bf00cb6abde958f1f579a643db1a |
|
MD5 | 13ccf750a2b0b78e7aec384ce77129c3 |
|
BLAKE2b-256 | 11a46eb2ab82bfa96b4a9c16fb4af946d62b7610d615f8f55cd8e62b6db615ae |