]> granicus.if.org Git - python/commitdiff
Issue23806 - Document the no_proxy environment variable in Python 3 docs.
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 23 Apr 2016 03:34:42 +0000 (20:34 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 23 Apr 2016 03:34:42 +0000 (20:34 -0700)
Doc/library/urllib.request.rst

index fc9b38f725028688a374c4355978e4907e1c025a..5a47201f0528a4654aecc1fbb6e6a9fead28b4ba 100644 (file)
@@ -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()