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.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba28c5cf343243823afeb5b8b71dcc094564a310d066fd47ac369b180e75a3d8 |
|
MD5 | a1af3e33b5c9e6e1a34d507c68bbab3d |
|
BLAKE2b-256 | 5f18f95af2b9a70e035643e0545af7559476480ce5da30e48009ae062a0565a9 |
Hashes for hea_aiohttp_remotes-1.2.1.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1855f5f8f05d81758a7bb6e74de827feb72319d71341c3c62d93b63a9517cbe |
|
MD5 | ed565ad3cafe190f8c16d57b5aa0c0fa |
|
BLAKE2b-256 | b38982e132720b0368b9fae6a6f8ebad1d3a9c621c820965ee4bb39c8f7b3c11 |