Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 348187cf authored by asciimoo's avatar asciimoo
Browse files

[fix] opensearch/rss content type

parent e06d69ea
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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'