From 21ce717eafca96b60fb1c6a791332a41e6777783 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Fri, 22 Apr 2016 20:34:42 -0700 Subject: Issue23806 - Document the no_proxy environment variable in Python 3 docs. --- Doc/library/urllib.request.rst | 5 +++++ 1 file changed, 5 insertions(+) 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() -- cgit v0.12