[Mpuls-commits] r84 - in waska/trunk: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 21 12:13:05 CEST 2008


Author: teichmann
Date: 2008-08-21 12:13:05 +0200 (Thu, 21 Aug 2008)
New Revision: 84

Modified:
   waska/trunk/ChangeLog.txt
   waska/trunk/waskaweb/controllers/agency_overview.py
Log:
Added dispositon headers for CSV and XML export on evaluation server.



Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt	2008-08-21 08:50:19 UTC (rev 83)
+++ waska/trunk/ChangeLog.txt	2008-08-21 10:13:05 UTC (rev 84)
@@ -1,3 +1,8 @@
+2008-08-21  Sascha L. Teichmann <sascha.teichmann at intevation.de>
+
+	* waskaweb/controllers/agency_overview.py: Added dispositon headers
+	  for CSV and XML export on evaluation server.
+
 2008-08-21 	Torsten Irlaender  <torsten.irlaender at intevation.de>
 
 	Changed default sorting order of logbook and preparation for dynamic
@@ -18,7 +23,7 @@
 	* formed/waska-hilfetexte.xhtml: New helptext
 	* formed/formedtree_web.xml: Added fixed formedtree
 
-2008-08-18  Sascha L. Teichmann <sascha.teichmann at intevation.de>
+2008-08-20  Sascha L. Teichmann <sascha.teichmann at intevation.de>
 
 	* waskaweb/public/images/icons/required_12x12.png,
 	  waskaweb/public/images/icons/needed_12x12.png: New. Icons for required

Modified: waska/trunk/waskaweb/controllers/agency_overview.py
===================================================================
--- waska/trunk/waskaweb/controllers/agency_overview.py	2008-08-21 08:50:19 UTC (rev 83)
+++ waska/trunk/waskaweb/controllers/agency_overview.py	2008-08-21 10:13:05 UTC (rev 84)
@@ -330,6 +330,7 @@
                 data = paste.fileapp.DataApp(
                     csv,
                     content_type='text/comma-separated-values',
+                    content_disposition = 'attachment; filename="fallakten-export.csv"',
                     content_encoding='Latin-1',
                     cache_control='must-revalidate',
                     pragma='public')
@@ -351,6 +352,7 @@
                 data = paste.fileapp.DataApp(
                     xml,
                     content_type        = 'application/xml',
+                    content_disposition = 'attachment; filename="fallakten-export.xml"',
                     content_encoding    = 'UTF-8',
                     cache_control       = 'must-revalidate',
                     content_disposition = 'attachment; filename="fallakten-export.xml"',



More information about the Mpuls-commits mailing list