Remove now not used params on _request() (rest_api.py)
This commit is contained in:
parent
c7843a9338
commit
12591d2357
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
content_length = int(self.headers.get("content-length", 0))
|
content_length = int(self.headers.get("content-length", 0))
|
||||||
return self.rfile.read(content_length)
|
return self.rfile.read(content_length)
|
||||||
|
|
||||||
def _handle(self, method, path, data="", params={}):
|
def _handle(self, method):
|
||||||
endpoint, args = self._path_data()
|
endpoint, args = self._path_data()
|
||||||
headers = utils.CaseInsensitiveDict(dict(self.headers.items()))
|
headers = utils.CaseInsensitiveDict(dict(self.headers.items()))
|
||||||
params = self._url_params()
|
params = self._url_params()
|
||||||
|
|
Loading…
Reference in a new issue