├── .git-blame-ignore-revs ├── .github ├── dependabot.yml └── workflows │ ├── auto-merge.yml │ ├── ci.yml │ └── codeql.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pyup.yml ├── CHANGES.rst ├── CHANGES └── README.rst ├── LICENSE ├── Makefile ├── README.rst ├── aiohttp_remotes ├── __init__.py ├── abc.py ├── allowed_hosts.py ├── basic_auth.py ├── cloudflare.py ├── exceptions.py ├── forwarded.py ├── log.py ├── py.typed ├── secure.py ├── utils.py └── x_forwarded.py ├── docs ├── Makefile ├── _build │ ├── doctrees │ │ ├── environment.pickle │ │ └── index.doctree │ └── html │ │ ├── .buildinfo │ │ ├── _sources │ │ └── index.rst.txt │ │ ├── _static │ │ ├── ajax-loader.gif │ │ ├── alabaster.css │ │ ├── basic.css │ │ ├── comment-bright.png │ │ ├── comment-close.png │ │ ├── comment.png │ │ ├── custom.css │ │ ├── doctools.js │ │ ├── down-pressed.png │ │ ├── down.png │ │ ├── file.png │ │ ├── jquery-3.1.0.js │ │ ├── jquery.js │ │ ├── minus.png │ │ ├── plus.png │ │ ├── pygments.css │ │ ├── searchtools.js │ │ ├── underscore-1.3.1.js │ │ ├── underscore.js │ │ ├── up-pressed.png │ │ ├── up.png │ │ └── websupport.js │ │ ├── genindex.html │ │ ├── index.html │ │ ├── objects.inv │ │ ├── search.html │ │ └── searchindex.js ├── api.rst ├── conf.py ├── index.rst └── make.bat ├── pyproject.toml ├── requirements ├── ci.txt ├── dev.txt ├── lint.txt └── prod.txt ├── setup.cfg └── tests ├── conftest.py ├── test_allowed_hosts.py ├── test_basic_auth.py ├── test_cloudfare.py ├── test_forwarded.py ├── test_secure.py ├── test_utils.py └── test_x_forwarded.py /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.github/workflows/auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pyup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/.pyup.yml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /CHANGES/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/CHANGES/README.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/README.rst -------------------------------------------------------------------------------- /aiohttp_remotes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/__init__.py -------------------------------------------------------------------------------- /aiohttp_remotes/abc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/abc.py -------------------------------------------------------------------------------- /aiohttp_remotes/allowed_hosts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/allowed_hosts.py -------------------------------------------------------------------------------- /aiohttp_remotes/basic_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/basic_auth.py -------------------------------------------------------------------------------- /aiohttp_remotes/cloudflare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/cloudflare.py -------------------------------------------------------------------------------- /aiohttp_remotes/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/exceptions.py -------------------------------------------------------------------------------- /aiohttp_remotes/forwarded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/forwarded.py -------------------------------------------------------------------------------- /aiohttp_remotes/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/log.py -------------------------------------------------------------------------------- /aiohttp_remotes/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiohttp_remotes/secure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/secure.py -------------------------------------------------------------------------------- /aiohttp_remotes/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/utils.py -------------------------------------------------------------------------------- /aiohttp_remotes/x_forwarded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/aiohttp_remotes/x_forwarded.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_build/doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/doctrees/environment.pickle -------------------------------------------------------------------------------- /docs/_build/doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/doctrees/index.doctree -------------------------------------------------------------------------------- /docs/_build/html/.buildinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/.buildinfo -------------------------------------------------------------------------------- /docs/_build/html/_sources/index.rst.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_sources/index.rst.txt -------------------------------------------------------------------------------- /docs/_build/html/_static/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/ajax-loader.gif -------------------------------------------------------------------------------- /docs/_build/html/_static/alabaster.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/alabaster.css -------------------------------------------------------------------------------- /docs/_build/html/_static/basic.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/basic.css -------------------------------------------------------------------------------- /docs/_build/html/_static/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/comment-bright.png -------------------------------------------------------------------------------- /docs/_build/html/_static/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/comment-close.png -------------------------------------------------------------------------------- /docs/_build/html/_static/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/comment.png -------------------------------------------------------------------------------- /docs/_build/html/_static/custom.css: -------------------------------------------------------------------------------- 1 | /* This file intentionally left blank. */ 2 | -------------------------------------------------------------------------------- /docs/_build/html/_static/doctools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/doctools.js -------------------------------------------------------------------------------- /docs/_build/html/_static/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/down-pressed.png -------------------------------------------------------------------------------- /docs/_build/html/_static/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/down.png -------------------------------------------------------------------------------- /docs/_build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/file.png -------------------------------------------------------------------------------- /docs/_build/html/_static/jquery-3.1.0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/jquery-3.1.0.js -------------------------------------------------------------------------------- /docs/_build/html/_static/jquery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/jquery.js -------------------------------------------------------------------------------- /docs/_build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/minus.png -------------------------------------------------------------------------------- /docs/_build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/plus.png -------------------------------------------------------------------------------- /docs/_build/html/_static/pygments.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/pygments.css -------------------------------------------------------------------------------- /docs/_build/html/_static/searchtools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/searchtools.js -------------------------------------------------------------------------------- /docs/_build/html/_static/underscore-1.3.1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/underscore-1.3.1.js -------------------------------------------------------------------------------- /docs/_build/html/_static/underscore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/underscore.js -------------------------------------------------------------------------------- /docs/_build/html/_static/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/up-pressed.png -------------------------------------------------------------------------------- /docs/_build/html/_static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/up.png -------------------------------------------------------------------------------- /docs/_build/html/_static/websupport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/_static/websupport.js -------------------------------------------------------------------------------- /docs/_build/html/genindex.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/genindex.html -------------------------------------------------------------------------------- /docs/_build/html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/index.html -------------------------------------------------------------------------------- /docs/_build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/objects.inv -------------------------------------------------------------------------------- /docs/_build/html/search.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/search.html -------------------------------------------------------------------------------- /docs/_build/html/searchindex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/_build/html/searchindex.js -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/docs/make.bat -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements/ci.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/requirements/ci.txt -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/requirements/dev.txt -------------------------------------------------------------------------------- /requirements/lint.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/requirements/lint.txt -------------------------------------------------------------------------------- /requirements/prod.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/requirements/prod.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/setup.cfg -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_allowed_hosts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_allowed_hosts.py -------------------------------------------------------------------------------- /tests/test_basic_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_basic_auth.py -------------------------------------------------------------------------------- /tests/test_cloudfare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_cloudfare.py -------------------------------------------------------------------------------- /tests/test_forwarded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_forwarded.py -------------------------------------------------------------------------------- /tests/test_secure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_secure.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_x_forwarded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aio-libs/aiohttp-remotes/HEAD/tests/test_x_forwarded.py --------------------------------------------------------------------------------