summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-04-23 03:34:42 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-04-23 03:34:42 (GMT)
commit21ce717eafca96b60fb1c6a791332a41e6777783 (patch)
treee9d09ed5610f58e4d795652298a4e0746e99a3fe /Doc
parent1046d5c65354c5b35486ac0cb7d3b02507004b04 (diff)
downloadcpython-21ce717eafca96b60fb1c6a791332a41e6777783.zip
cpython-21ce717eafca96b60fb1c6a791332a41e6777783.tar.gz
cpython-21ce717eafca96b60fb1c6a791332a41e6777783.tar.bz2
Issue23806 - Document the no_proxy environment variable in Python 3 docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index fc9b38f..5a47201 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -269,6 +269,11 @@ The following classes are provided:
To disable autodetected proxy pass an empty dictionary.
+ The :envvar:`no_proxy` environment variable can be used to specify hosts
+ which shouldn't be reached via proxy; if set, it should be a comma-separated
+ list of hostname suffixes, optionally with ``:port`` appended, for example
+ ``cern.ch,ncsa.uiuc.edu,some.host:8080``.
+
.. class:: HTTPPasswordMgr()