From: yomguy Date: Tue, 5 Apr 2011 12:17:44 +0000 (+0200) Subject: rm XML attachement X-Git-Tag: 1.1~297 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2838b24be2c3d3b6445d396961703e2b78a28f74;p=telemeta.git rm XML attachement --- diff --git a/telemeta/web/base.py b/telemeta/web/base.py index cd8acb16..742b2fda 100644 --- a/telemeta/web/base.py +++ b/telemeta/web/base.py @@ -448,7 +448,7 @@ class WebView(object): self.item_analyze(item) mime_type = 'text/xml' response = HttpResponse(self.cache_data.read_stream_bin(analyze_file), mimetype=mime_type) - response['Content-Disposition'] = 'attachment; filename='+public_id+'.xml' +# response['Content-Disposition'] = 'attachment; filename='+public_id+'.xml' return response def item_visualize(self, request, public_id, visualizer_id, width, height):