Fix bug #314, reported by Craig Allen <cba@mediaone.net>:
splittype():  Always lower-case the URL scheme; these are supposed to be
               normalized according to RFC 1738 anyway.
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 @@
     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