Typo, 'utils.parse' -> 'urllib.parse' (rest_api.py)
This commit is contained in:
parent
12591d2357
commit
e84f91977c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
|||
|
||||
def _url_params(self):
|
||||
parsed = urllib.parse.urlparse(self.path)
|
||||
query = utils.parse.parse_qs(parsed.query)
|
||||
query = urllib.parse.parse_qs(parsed.query)
|
||||
return dict([(k, v[0]) for k, v in query.items()])
|
||||
|
||||
def _body(self):
|
||||
|
|
Loading…
Reference in a new issue