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/http1/read.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/http1/read.py')
| -rw-r--r-- | netlib/http/http1/read.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/http/http1/read.py b/netlib/http/http1/read.py index f776d0b5..93fca04e 100644 --- a/netlib/http/http1/read.py +++ b/netlib/http/http1/read.py @@ -241,7 +241,7 @@ def _read_request_line(rfile):              scheme, path = None, None          else:              form = "absolute" -            scheme, host, port, path = url.parse_url(path) +            scheme, host, port, path = url.parse(path)          _check_http_version(http_version)      except ValueError:  | 
