소스 검색

[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):