on master help sign in
[fix] poolrequest post method parameters
06186e7Adam Tauber
searx/poolrequests.py+2−2
@@ -45,8 +45,8 @@ def head(url, **kwargs):
45 return request('head', url, **kwargs)
45 return request('head', url, **kwargs)
46
46
47
47
48−def post(url, data=None, json=None, **kwargs):
48+def post(url, data=None, **kwargs):
49− return request('post', url, data=data, json=json, **kwargs)
49+ return request('post', url, data=data, **kwargs)
50
50
51
51
52def put(url, data=None, **kwargs):
52def put(url, data=None, **kwargs):