From 348187cff9bc3c55c1327f3d7177e6d1a61b8430 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Tue, 14 Jan 2014 22:18:21 +0100 Subject: [PATCH] [fix] opensearch/rss content type --- searx/webapp.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'