|
Added
Link Here
|
| 1 |
--- fastest_sites-20110317.py.orig 2018-01-03 06:06:26 UTC |
| 2 |
+++ fastest_sites-20110317.py |
| 3 |
@@ -61,7 +61,7 @@ class AsyncConnect(asyncore.dispatcher): |
| 4 |
|
| 5 |
def ParseURL(self): |
| 6 |
#print "Url: %s" % self._url |
| 7 |
- (scheme, remainder) = self._url.split(":", 2) |
| 8 |
+ (scheme, remainder) = self._url.split(":", 1) |
| 9 |
(host, unused_path) = urllib.splithost(remainder) |
| 10 |
self._host = host |
| 11 |
self._port = AsyncConnect.schemes[scheme.lower()] |