From: Senthil Kumaran Date: Sat, 23 Apr 2016 03:34:42 +0000 (-0700) Subject: Issue23806 - Document the no_proxy environment variable in Python 3 docs. X-Git-Tag: v3.6.0a1~148^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21ce717eafca96b60fb1c6a791332a41e6777783;p=thirdparty%2FPython%2Fcpython.git Issue23806 - Document the no_proxy environment variable in Python 3 docs. --- diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index fc9b38f72502..5a47201f0528 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()