projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86b1b48
)
i hope this allows IE to download excel over https?
author
ivan
<ivan>
Wed, 5 Dec 2007 00:45:44 +0000
(
00:45
+0000)
committer
ivan
<ivan>
Wed, 5 Dec 2007 00:45:44 +0000
(
00:45
+0000)
httemplate/search/elements/search.html
patch
|
blob
|
history
diff --git
a/httemplate/search/elements/search.html
b/httemplate/search/elements/search.html
index
5649c85
..
f310388
100644
(file)
--- a/
httemplate/search/elements/search.html
+++ b/
httemplate/search/elements/search.html
@@
-156,9
+156,16
@@
Example:
% } elsif ( $type =~ /\.xls$/ ) {
%
% #http_header('Content-Type' => 'application/excel' ); #eww
% } 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/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)
% my $data = '';
% my $XLS = new IO::Scalar \$data;
% my $workbook = Spreadsheet::WriteExcel->new($XLS)