MozillaZine

how to change mime types?

Discussion of general topics about Mozilla Firefox
harakiri
 
Posts: 3
Joined: December 2nd, 2002, 11:45 am

Post Posted December 2nd, 2002, 11:49 am

i have the problem that .cab and .rar files do not save to disk. phoenix opens them in a new tab. how can i change that phoenix (windows 0.4build) saves them?

not every time there is a "save link as" option, esp. php-sites with download scripts
hope anyone can help

seb

User avatar
 
Posts: 1578
Joined: November 4th, 2002, 11:26 pm
Location: Paris, France

Post Posted December 2nd, 2002, 11:59 am

This has to be done by server admin. Mozilla/Phoenix relies on the sent MIME type to open or download it. If the specified MIME type is text/plain (which seems to be the case for .rar on most servers), the file will be opened and not downloaded.

For example, correct MIME types for .rar is application/rar, and for .cab, it seems to be application/x-cabinet.

laszlo

User avatar
 
Posts: 5198
Joined: November 4th, 2002, 6:13 pm
Location: .de

Post Posted December 2nd, 2002, 1:09 pm

A workaround to save the file regardless of the wrong MIME type is to let it start to load in a new tab/window, then cancel the load and select "Save Page as..." from the context or the "File" menu.

Thumper

User avatar
 
Posts: 8037
Joined: November 4th, 2002, 5:42 pm
Location: Linlithgow, Scotland

Post Posted December 2nd, 2002, 3:37 pm

Erm, I thought the problem here was that the MIME prefs from Mozilla weren't in phoenix. While I can live without them for the sake of a compact browser, this is still something that Moz can handle isn't it? And as such, even if there isn't a preferences screen for it, is it possible that something in the text prefs can be used?

- Chris

Balboa
 
Posts: 35
Joined: November 5th, 2002, 2:04 am

Post Posted December 3rd, 2002, 2:37 am

There's an old pref (0.9.4) for the Unix ver: helpers.private_mime_types_file

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 3 guests