This commit is contained in:
Kenneth Reitz
2011-08-17 00:09:47 -04:00
parent 24da41005c
commit 783e540d6d
+2
View File
@@ -510,7 +510,9 @@ class AuthManager(object):
scheme = None
authority = uri
path = '/'
host, port = urllib2.splitport(authority)
if default_port and port is None and scheme is not None:
dport = {"http": 80,
"https": 443,