mirror of
https://github.com/searxng/searxng.git
synced 2026-08-13 02:31:25 +00:00
[mod] defaults: GET method and ddg autocomplete
This commit is contained in:
@@ -1195,7 +1195,7 @@ def opensearch():
|
||||
method = 'GET'
|
||||
|
||||
if method not in ('POST', 'GET'):
|
||||
method = 'POST'
|
||||
method = 'GET'
|
||||
|
||||
ret = render('opensearch.xml', opensearch_method=method, autocomplete=autocomplete)
|
||||
resp = Response(response=ret, status=200, mimetype="application/opensearchdescription+xml")
|
||||
|
||||
Reference in New Issue
Block a user