summaryrefslogtreecommitdiff
path: root/docs/user/advanced.rst
diff options
context:
space:
mode:
authorNikosVlagoidis <NikosVlagoidis@users.noreply.github.com>2017-08-09 18:52:26 +0300
committerGitHub <noreply@github.com>2017-08-09 18:52:26 +0300
commitcb9620780ff6c69b88ec0400d3fd140e28a7aec2 (patch)
tree994d16882bfa70b48752d865ff1ea5e8de90981b /docs/user/advanced.rst
parent963c78853f0125eb21f3483628f34ab322d65b34 (diff)
downloadpython-requests-cb9620780ff6c69b88ec0400d3fd140e28a7aec2.tar.gz
Update advanced.rst
Diffstat (limited to 'docs/user/advanced.rst')
-rw-r--r--docs/user/advanced.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst
index 11ee4e3f..742fa4cd 100644
--- a/docs/user/advanced.rst
+++ b/docs/user/advanced.rst
@@ -593,9 +593,7 @@ as using a HTTP one::
'https': 'socks5://user:pass@host:port'
}
-Using socks5 proxy resolve domains through the client instead of the proxy server. This is done to be
-in line with curl, which uses different schemes to decide whether to resolve via the proxy or via the client.
-You need to use the scheme socks5h is you want to resolve domains through the proxy server.
+Using the scheme socks5 causes the DNS resolution to happen on the client, rather than on the proxy server. This is in line with curl, which uses the scheme to decide whether to do the DNS resolution on the client or proxy. If you want to resolve the domains on the proxy server, use socks5h as the scheme.
.. _compliance: