diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 9400757..7a98164 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -848,7 +848,7 @@ def splittype(url): match = _typeprog.match(url) if match: scheme = match.group(1) - return scheme, url[len(scheme) + 1:] + return scheme.lower(), url[len(scheme) + 1:] return None, url _hostprog = None |