Made search for path case insensitive

This commit is contained in:
allfro 2012-08-15 20:01:31 -03:00
parent c5b5193c0f
commit 225b071883

View File

@ -127,7 +127,7 @@ class UnsupportedSchemeException(Exception):
class ProxyHandler(BaseHTTPRequestHandler):
r = compile(r'http://[^/]+(/?.*)')
r = compile(r'http://[^/]+(/?.*)(?i)')
def _connect_to_host(self):
# Get hostname and port to connect to