IE doesn't like downloading MIME type text/comma-separated-values
authorivan <ivan>
Tue, 30 Sep 2003 12:48:11 +0000 (12:48 +0000)
committerivan <ivan>
Tue, 30 Sep 2003 12:48:11 +0000 (12:48 +0000)
httemplate/misc/download-batch.cgi

index ecb80d2..306ef5d 100644 (file)
@@ -1,6 +1,7 @@
 <%
 
-http_header('Content-Type' => 'text/comma-separated-values' );
+#http_header('Content-Type' => 'text/comma-separated-values' ); #IE chokes
+http_header('Content-Type' => 'text/plain' );
 
 for my $cust_pay_batch ( sort { $a->paybatchnum <=> $b->paybatchnum }
                               qsearch('cust_pay_batch', {} )