Remove now not used params on _request() (rest_api.py)

This commit is contained in:
jesopo 2019-02-08 21:54:33 +00:00
parent c7843a9338
commit 12591d2357

View file

@ -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()