diff --git a/src/miproxy/proxy.py b/src/miproxy/proxy.py index efc6089..a0af2cb 100644 --- a/src/miproxy/proxy.py +++ b/src/miproxy/proxy.py @@ -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