aiohttp-remotes
aiohttp-remotes copied to clipboard
A set of useful tools for aiohttp.web server
=============== aiohttp-remotes
The library is a set of useful tools for aiohttp.web server.
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.ForwardedRelaxedandForwardedStrict-- processForwardedHTTP header and modify correspondingscheme,host,remoteattributes in strong secured and relaxed modes.Secure-- ensure that web application is handled by HTTPS (SSL/TLS) only, redirect plain HTTP to HTTPS automatically.XForwardedRelaxedandXForwardedStrict-- the same asForwardedRelaxedandForwardedStrictbut process old-fashionX-Forwarded-*headers instead of new standardForwarded.
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.