diff options
author | Guido van Rossum <guido@python.org> | 1997-05-28 15:37:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-28 15:37:19 (GMT) |
commit | 1aec3f087e46518f88027338b6b344dd3105699e (patch) | |
tree | 9132ee370bc8582d3f8d4c0a14dbaea9505f77b5 /Lib/urllib.py | |
parent | 43055425174a92855a8c1f3266dae00cadc6fa2c (diff) | |
download | cpython-1aec3f087e46518f88027338b6b344dd3105699e.zip cpython-1aec3f087e46518f88027338b6b344dd3105699e.tar.gz cpython-1aec3f087e46518f88027338b6b344dd3105699e.tar.bz2 |
lowercase proxies env variables, for Windows.
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index d241ad4..94ddbb5 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -748,6 +748,7 @@ def getproxies(): """ proxies = {} for name, value in os.environ.items(): + name = string.lower(name) if value and name[-6:] == '_proxy': proxies[name[:-6]] = value return proxies |