org
Subject: RE: Mime Type
So what's the best mime-type then to use ?
Paul
-Original Message-
From: Tom Schindl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 11:32 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mime Type
-BEGIN PGP SIGNED MESSAGE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Harrison wrote:
> So what's the best mime-type then to use ?
>
>
> Paul
>
http://philringnalda.com/blog/2001/12/force_the_browser_to_save_a_file.php
- 8<
$r->content_type("application/octet-stream");
-
So what's the best mime-type then to use ?
Paul
-Original Message-
From: Tom Schindl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 11:32 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mime Type
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As already
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As already said that's nothing specific to mod_perl but when using
mod_perl you set the mime-type yourself using:
$r->content_type('text/plain');
If you want the user to have get a popup you have to use a content-type
the browser has no mapping for.
EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 11:36 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mime Type
Hi
I'm not quite sure how this relates to mod_perl...
On Tue 13-Sep-2005 at 10:26:05AM -0500, Paul Harrison wrote:
> Is there a way I can change the mine typ
Hi
I'm not quite sure how this relates to mod_perl...
On Tue 13-Sep-2005 at 10:26:05AM -0500, Paul Harrison wrote:
> Is there a way I can change the mine type in apache
Yes:
AddType application/octet-stream .mp3
http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addtype
I'd suggest just