summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-14 22:18:21 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-14 22:18:21 +0100
commit348187cff9bc3c55c1327f3d7177e6d1a61b8430 (patch)
treed547b9854965226ef16caa2358487b79a6ff3d63 /searx
parente06d69ea607074cb04ed4cfaf8ab5ba8859f7139 (diff)
downloadsearxng-348187cff9bc3c55c1327f3d7177e6d1a61b8430.tar.gz
searxng-348187cff9bc3c55c1327f3d7177e6d1a61b8430.zip
[fix] opensearch/rss content type
Diffstat (limited to 'searx')
-rw-r--r--searx/webapp.py4
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'