Skip to content

Commit

Permalink
[3.6] Update docs to clarify proxy support (#4101)
Browse files Browse the repository at this point in the history
* Update docs to clarify proxy support

Clarify that, while aiohttp supports proxies that upgrade to HTTPS via CONNECT, it doesn't support proxies that must be connected to via `https://` - #4100 .

* Create 1400.doc

Record change

* Update docs/client_advanced.rst

Differentiate types of HTTP proxies.

Co-Authored-By: Andrew Svetlov <[email protected]>
(cherry picked from commit be95c61)

Co-authored-by: Benjamin Kane <[email protected]>
  • Loading branch information
bbkane authored and asvetlov committed Sep 27, 2019
1 parent 83c839f commit 9a3329f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES/4100.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update docs to reflect proxy support.
5 changes: 3 additions & 2 deletions docs/client_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,9 @@ DER with e.g::
Proxy support
-------------

aiohttp supports HTTP/HTTPS proxies. You have to use
*proxy* parameter::
aiohttp supports plain HTTP proxies and HTTP proxies that can be upgraded to HTTPS
via the HTTP CONNECT method. aiohttp does not support proxies that must be
connected to via ``https://``. To connect, use the *proxy* parameter::

async with aiohttp.ClientSession() as session:
async with session.get("http://python.org",
Expand Down

0 comments on commit 9a3329f

Please sign in to comment.