Browse Source

[fix] poolrequest post method parameters

Adam Tauber 10 years ago
parent
commit
06186e72a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/poolrequests.py

+ 2 - 2
searx/poolrequests.py

@@ -45,8 +45,8 @@ def head(url, **kwargs):
     return request('head', url, **kwargs)
 
 
-def post(url, data=None, json=None, **kwargs):
-    return request('post', url, data=data, json=json, **kwargs)
+def post(url, data=None,  **kwargs):
+    return request('post', url, data=data, **kwargs)
 
 
 def put(url, data=None, **kwargs):