控制远程侧信息。
aiohttp-remotes的Python项目详细描述
库是aiohttp.webserver的一组有用工具。
工具的完整列表是:
- AllowedHosts–将一组传入连接限制为 仅允许主机。
- BasicAuth–通过basic auth保护web应用程序 授权。
- Cloudflare–确保Web应用程序受到保护 通过云火。
- ForwardedRelaxed和ForwardedStrict-进程 Forwardedhttp头并修改相应的 scheme,host,remote属性在强安全和 放松模式。
- Secure–确保使用https处理web应用程序 仅限(ssl/tls),自动将纯http重定向到https。
- XForwardedRelaxed和XForwardedStrict-相同 作为ForwardedRelaxed和ForwardedStrict,但处理旧样式 X-Forwarded-*头而不是新的标准Forwarded。
阅读https://aiohttp-remotes.readthedocs.io了解更多信息。
图书馆是由海洋公司捐赠的https://ocean.io/
感谢公司的贡献。