Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to clarify proxy support #4101

Merged
merged 3 commits into from
Sep 27, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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 .
  • Loading branch information
bbkane authored Sep 26, 2019
commit 096b78f261dae06c0399d083de9443f734b0dc3c
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 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