summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/urllib.py1
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