aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/http2
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-05-31 18:46:19 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-05-31 18:46:19 +1200
commit6dda2b2ee544c3890f04b7bf99272998e29992b6 (patch)
tree67ed7ba9ce6d5266c93502653cf5f39be33d2bef /netlib/http/http2
parent4e6c9c4e935458d23add259dc63c5e0a85fba9c8 (diff)
downloadmitmproxy-6dda2b2ee544c3890f04b7bf99272998e29992b6.tar.gz
mitmproxy-6dda2b2ee544c3890f04b7bf99272998e29992b6.tar.bz2
mitmproxy-6dda2b2ee544c3890f04b7bf99272998e29992b6.zip
Module is part of the name - url.decode, not url.urldecode
A pattern we need to use far more often in the codebase
Diffstat (limited to 'netlib/http/http2')
-rw-r--r--netlib/http/http2/connections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/http/http2/connections.py b/netlib/http/http2/connections.py
index 4c15ee07..7c7ad693 100644
--- a/netlib/http/http2/connections.py
+++ b/netlib/http/http2/connections.py
@@ -118,7 +118,7 @@ class HTTP2Protocol(object):
else:
first_line_format = "absolute"
# FIXME: verify if path or :host contains what we need
- scheme, host, port, _ = url.parse_url(path)
+ scheme, host, port, _ = url.parse(path)
scheme = scheme.decode('ascii')
host = host.decode('ascii')