diff options
author | asciimoo <asciimoo@gmail.com> | 2014-01-14 22:18:21 +0100 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2014-01-14 22:18:21 +0100 |
commit | 348187cff9bc3c55c1327f3d7177e6d1a61b8430 (patch) | |
tree | d547b9854965226ef16caa2358487b79a6ff3d63 /searx | |
parent | e06d69ea607074cb04ed4cfaf8ab5ba8859f7139 (diff) | |
download | searxng-348187cff9bc3c55c1327f3d7177e6d1a61b8430.tar.gz searxng-348187cff9bc3c55c1327f3d7177e6d1a61b8430.zip |
[fix] opensearch/rss content type
Diffstat (limited to 'searx')
-rw-r--r-- | searx/webapp.py | 4 |
1 files changed, 1 insertions, 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' |