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

Skip to content

Commit 19d85c2

Browse files
committed
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
1 parent ee91e09 commit 19d85c2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/urllib.request.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ The :mod:`urllib.request` module defines the following functions:
124124
.. function:: getproxies()
125125

126126
This helper function returns a dictionary of scheme to proxy server URL
127-
mappings. It scans the environment for variables named ``<scheme>_proxy``
128-
for all operating systems first, and when it cannot find it, looks for proxy
129-
information from Mac OSX System Configuration for Mac OS X and Windows
130-
Systems Registry for Windows.
127+
mappings. It scans the environment for variables named ``<scheme>_proxy``,
128+
in a case insensitive approach, for all operating systems first, and when it
129+
cannot find it, looks for proxy information from Mac OSX System
130+
Configuration for Mac OS X and Windows Systems Registry for Windows.
131131

132132

133133
The following classes are provided:

0 commit comments

Comments
 (0)