perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Just an observation - content type
Date Wed, 28 Apr 2004 05:29:48 GMT
Ben Kim wrote:
> I had a few pages outputting csv files which used to work. (caused the
> browsers to ask if to open or save) I had this header.
>   $http_headers_out{"Content-type"} = "application/vnd.ms-excel";
>
> But from some time ago, they just began to show on the browser like a
> plain text file would.
>
> Then we found that replacing the above with this line made them work
> again.
>   $req_rec -> content_type ('application/vnd.ms-excel');
>
> We would have made some changes in configuration but couldn't track
> the cause down. Just an observation, in case anyone has a ready
> comments.
>

Which version of Embperl, mod_perl and Apache you are using?

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message