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

Skip to content

Commit 21ce717

Browse files
committed
Issue23806 - Document the no_proxy environment variable in Python 3 docs.
1 parent 1046d5c commit 21ce717

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)