diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 18:46:19 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 18:46:19 +1200 |
commit | 6dda2b2ee544c3890f04b7bf99272998e29992b6 (patch) | |
tree | 67ed7ba9ce6d5266c93502653cf5f39be33d2bef /netlib/http/http2/connections.py | |
parent | 4e6c9c4e935458d23add259dc63c5e0a85fba9c8 (diff) | |
download | mitmproxy-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/connections.py')
-rw-r--r-- | netlib/http/http2/connections.py | 2 |
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') |