summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-12-05 00:52:16 +0000
committerivan <ivan>2007-12-05 00:52:16 +0000
commit6e1a54c654d31f7686358882a10ad12b0a26e76c (patch)
tree85ebdd154f80478b07dec011a3a9bc56ccc66bfa
parent9d36437025f070a586ece174a4dba48f6de94fa9 (diff)
i hope this allows IE to download excel over https?
-rw-r--r--httemplate/search/elements/search.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html
index 7b1a515df..919125ece 100644
--- a/httemplate/search/elements/search.html
+++ b/httemplate/search/elements/search.html
@@ -156,8 +156,15 @@ Example:
% } 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;