[svn:p5ee] r14337 - p5ee/trunk/App-Widget/lib/App

[email protected] Thu, 26 Aug 2010 11:42:32 -0700 (PDT)
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Thu Aug 26 11:42:31 2010
New Revision: 14337

Modified:
   p5ee/trunk/App-Widget/lib/App/Widget.pm

Log:
added json content_type

Modified: p5ee/trunk/App-Widget/lib/App/Widget.pm
==============================================================================
--- p5ee/trunk/App-Widget/lib/App/Widget.pm	(original)
+++ p5ee/trunk/App-Widget/lib/App/Widget.pm	Thu Aug 26 11:42:31 2010
@@ -298,6 +298,7 @@
     my %content_type = (
         html => "text/html",
         txt  => "text/plain",
+        json => "text/plain",
         pdf  => "application/pdf\nContent-disposition: attachment; filename=\"$filename.pdf\"",
         xls  => "application/vnd.ms-excel\nContent-disposition: attachment; filename=\"$filename.xls\"",
         xml  => "application/xml",