Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3973d27

Browse files
committed
merge 3.5
Document no_proxy environment variable in python 3.x #issue23806
2 parents da28494 + 21ce717 commit 3973d27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/library/urllib.request.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ The following classes are provided:
269269

270270
To disable autodetected proxy pass an empty dictionary.
271271

272+
The :envvar:`no_proxy` environment variable can be used to specify hosts
273+
which shouldn't be reached via proxy; if set, it should be a comma-separated
274+
list of hostname suffixes, optionally with ``:port`` appended, for example
275+
``cern.ch,ncsa.uiuc.edu,some.host:8080``.
276+
272277

273278
.. class:: HTTPPasswordMgr()
274279

0 commit comments

Comments
 (0)