aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-08 21:54:33 +0000
committerGravatar jesopo2019-02-08 21:54:33 +0000
commit12591d2357509305c33f5d75ba0d22e7aaaa948f (patch)
tree74bb42108378cc0628dd9f9a9419687f5b84815c /modules
parentSimplify/refactor REST API request parsing code (rest_api.py) (diff)
signature
Remove now not used params on _request() (rest_api.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index f0e44032..77266144 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -26,7 +26,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
content_length = int(self.headers.get("content-length", 0))
return self.rfile.read(content_length)
- def _handle(self, method, path, data="", params={}):
+ def _handle(self, method):
endpoint, args = self._path_data()
headers = utils.CaseInsensitiveDict(dict(self.headers.items()))
params = self._url_params()