Metadata-Version: 2.4
Name: aiohttp_remotes
Version: 1.2.0
Summary: Control remote side information.
Home-page: https://github.com/aio-libs/aiohttp-remotes
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: AsyncIO
License-File: LICENSE
Requires-Dist: aiohttp >= 3.8.1
Requires-Dist: typing-extensions >= 3.7.4
Project-URL: Documentation, https://aiohttp-remotes.readthedocs.io

===============
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.
* ``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.

