RE: Mime Type

2005-09-13 Thread Adam Prime x443
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

Re: Mime Type

2005-09-13 Thread Tom Schindl
-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"); -

RE: Mime Type

2005-09-13 Thread Paul Harrison
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

Re: Mime Type

2005-09-13 Thread Tom Schindl
-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.

RE: Mime Type

2005-09-13 Thread Adam Prime x443
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

Re: Mime Type

2005-09-13 Thread Chris Croome
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