mirror of
https://github.com/searxng/searxng.git
synced 2026-05-28 05:40:12 +02:00
Merge pull request #2292 from kvch/elasticsearch-engine
New engine: Elasticsearch
This commit is contained in:
+2
-1
@@ -126,7 +126,8 @@ def send_http_request(engine, request_params):
|
||||
req = requests_lib.get
|
||||
else:
|
||||
req = requests_lib.post
|
||||
request_args['data'] = request_params['data']
|
||||
|
||||
request_args['data'] = request_params['data']
|
||||
|
||||
# send the request
|
||||
return req(request_params['url'], **request_args)
|
||||
|
||||
Reference in New Issue
Block a user