瀏覽代碼

[fix] poolrequest post method parameters

Adam Tauber 10 年之前
父節點
當前提交
06186e72a9
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      searx/poolrequests.py

+ 2
- 2
searx/poolrequests.py 查看文件

@@ -45,8 +45,8 @@ def head(url, **kwargs):
45 45
     return request('head', url, **kwargs)
46 46
 
47 47
 
48
-def post(url, data=None, json=None, **kwargs):
49
-    return request('post', url, data=data, json=json, **kwargs)
48
+def post(url, data=None,  **kwargs):
49
+    return request('post', url, data=data, **kwargs)
50 50
 
51 51
 
52 52
 def put(url, data=None, **kwargs):