Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] opensearch/rss content type

asciimoo348187cff9bc
diff --git a/searx/webapp.py b/searx/webapp.py
index 40f5fc8b3..6c27369db 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -153,9 +153,7 @@ def index():
,number_of_results=len(results)
,base_url=get_base_url()
)
- response = Response(response_rss, mimetype='application/xml')
- response.headers.add('Content-Disposition', 'attachment;Filename=searx_-_{0}.xml'.format('_'.join(query.split())))
- return response
+ return Response(response_rss, mimetype='text/xml')
return render('results.html'