logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 348187cff9bc3c55c1327f3d7177e6d1a61b8430
parent: e06d69ea607074cb04ed4cfaf8ab5ba8859f7139
Author: asciimoo <asciimoo@gmail.com>
Date:   Tue, 14 Jan 2014 22:18:21 +0100

[fix] opensearch/rss content type

Diffstat:

searx/webapp.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 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'