summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-04-25 15:16:23 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-04-25 15:16:23 (GMT)
commita7c0ff2f0b3883109245d6be3083aeeee8c9749c (patch)
treea70b16a9c3cecf3f4ff292d398899b1469351d0e /Doc/library/urllib.request.rst
parentd3304e3e20651665bdafd29ffbdf64f50ac753e6 (diff)
downloadcpython-a7c0ff2f0b3883109245d6be3083aeeee8c9749c.zip
cpython-a7c0ff2f0b3883109245d6be3083aeeee8c9749c.tar.gz
cpython-a7c0ff2f0b3883109245d6be3083aeeee8c9749c.tar.bz2
Issue #26804: urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 5a47201..8aca0dd 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -166,6 +166,8 @@ The :mod:`urllib.request` module defines the following functions:
in a case insensitive approach, for all operating systems first, and when it
cannot find it, looks for proxy information from Mac OSX System
Configuration for Mac OS X and Windows Systems Registry for Windows.
+ If both lowercase and uppercase environment variables exist (and disagree),
+ lowercase is preferred.
The following classes are provided: