Home  |  Linux  | Mysql  | PHP  | XML
From:spadkins@cvs.perl.org Date:Mon Apr 21 13:50:13 2008
Subject:[svn:p5ee] r11129 - p5ee/trunk/App-Widget/lib/App
Author: spadkins
Date: Mon Apr 21 12:50:12 2008
New Revision: 11129

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

Log:
bin in content_type now returns text/html

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	Mon Apr 21 12:50:12 2008
@@ -294,7 +294,8 @@
         xls  => "application/vnd.ms-excel\nContent-disposition: attachment; filename=\"$filename.xls\"",
         xml  => "application/xml",
         csv  => "application/octet-stream\nContent-disposition: attachment; filename=\"$filename.csv\"",
-        bin  => "application/octet-stream\nContent-disposition: attachment; filename=\"$filename.bin\"",
+        #bin  => "application/octet-stream\nContent-disposition: attachment; filename=\"$filename.bin\"",
+        bin  => "text/html",
     );
 
     my $extension = $self->{extension} || "html";
Navigate in group perl.cvs.p5ee at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants