[freeside-commits] freeside/httemplate/search/elements search.html, 1.32, 1.33
Ivan,,,
ivan at wavetail.420.am
Tue Dec 4 16:45:49 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail:/tmp/cvs-serv1382
Modified Files:
search.html
Log Message:
i hope this allows IE to download excel over https?
Index: search.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- search.html 4 Dec 2007 20:51:51 -0000 1.32
+++ search.html 5 Dec 2007 00:45:44 -0000 1.33
@@ -156,9 +156,16 @@
% } elsif ( $type =~ /\.xls$/ ) {
%
% #http_header('Content-Type' => 'application/excel' ); #eww
-% http_header('Content-Type' => 'application/vnd.ms-excel' );
% #http_header('Content-Type' => 'application/msexcel' ); #alas
+% #http_header('Content-Type' => 'application/x-msexcel' ); #?
+%
+% #http://support.microsoft.com/kb/199841
+% http_header('Content-Type' => 'application/vnd.ms-excel' );
%
+% #http://support.microsoft.com/kb/812935
+% #http://support.microsoft.com/kb/323308
+% $HTML::Mason::Commands::r->headers_out->{'Cache-control'} = 'max-age=0';
+%
% my $data = '';
% my $XLS = new IO::Scalar \$data;
% my $workbook = Spreadsheet::WriteExcel->new($XLS)
More information about the freeside-commits
mailing list