mirror of https://github.com/python/cpython
Issue 2188: Documentation hint about disabling proxy detection.
This commit is contained in:
parent
00b53ea1b8
commit
45ea86c124
|
@ -182,6 +182,7 @@ The following classes are provided:
|
||||||
Cause requests to go through a proxy. If *proxies* is given, it must be a
|
Cause requests to go through a proxy. If *proxies* is given, it must be a
|
||||||
dictionary mapping protocol names to URLs of proxies. The default is to read the
|
dictionary mapping protocol names to URLs of proxies. The default is to read the
|
||||||
list of proxies from the environment variables :envvar:`<protocol>_proxy`.
|
list of proxies from the environment variables :envvar:`<protocol>_proxy`.
|
||||||
|
To disable autodetected proxy pass an empty dictionary.
|
||||||
|
|
||||||
|
|
||||||
.. class:: HTTPPasswordMgr()
|
.. class:: HTTPPasswordMgr()
|
||||||
|
|
Loading…
Reference in New Issue