'get_params' -> 'get_params_str'
This commit is contained in:
parent
b6f4e9c458
commit
7636843fc7
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
|||
host = headers["Host"]
|
||||
get_params_str = ""
|
||||
if get_params:
|
||||
get_params = "?%s" % urllib.parse.urlencode(get_params)
|
||||
get_params_str = "?%s" % urllib.parse.urlencode(get_params)
|
||||
return "%s/%s/%s%s" % (host, route, endpoint, get_params_str)
|
||||
else:
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue