aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/http1
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http/http1')
-rw-r--r--netlib/http/http1/read.py2
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: