[Python-checkins] cpython (3.5): Issue23806 - Document the no_proxy environment variable in Python 3 docs.

senthil.kumaran python-checkins at python.org
Fri Apr 22 23:35:46 EDT 2016


https://hg.python.org/cpython/rev/5424a559ddea
changeset: 101093:5424a559ddea
branch: 3.5
parent: 101090:66e40df31fac
user: Senthil Kumaran <senthil at uthcode.com>
date: Fri Apr 22 20:34:42 2016 -0700
summary:
 Issue23806 - Document the no_proxy environment variable in Python 3 docs.
files:
 Doc/library/urllib.request.rst | 5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -269,6 +269,11 @@
 
 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()
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /