Skip to content

Commit

Permalink
Add a link to aiohttp-remotes
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 19, 2017
1 parent 245d3bf commit 51961a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
('https://yarl.readthedocs.io/en/stable/', None),
'aiohttpjinja2':
('https://aiohttp-jinja2.readthedocs.io/en/stable/', None),
'aiohttpremotes':
('https://aiohttp-remotes.readthedocs.io/en/stable/', None),
'aiohttpsession':
('https://aiohttp-session.readthedocs.io/en/stable/', None)}

Expand Down
7 changes: 5 additions & 2 deletions docs/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1552,8 +1552,11 @@ For changing :attr:`~BaseRequest.scheme` :attr:`~BaseRequest.host` and
:attr:`~BaseRequest.remote` the middleware might use
:meth:`~BaseRequest.clone`.

TBD: add a link to third-party project with proper middleware
implementation.
.. seealso::

https://github.com/aio-libs/aiohttp-remotes provides secure helpers
for modifiying *scheme*, *host* and *remote* attributes according
to ``Forwarded`` and ``X-Forwarded-*`` HTTP headers.

Swagger support
---------------
Expand Down

0 comments on commit 51961a7

Please sign in to comment.