Re: How Do I Define Helper Applications

[email protected] (Mårten Svantesson)
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Rod Miller <[email protected]> writes:

> Have attempted to do so unsuccessfully. I have put in the mime type
> and the filename extension, e.g., for a .wav file, and indicated I
> wanted to
> be asked what to do with the file. Mozilla insists on loading the file
> into a new navigator window.
>
> So I removed the definition of the helper app. Since that is now an
> unknown file type, Mozilla should ask, right? Wrong. It still downloads
> the file into a new window.
>
> What am I doing wrong? If there is a cookbook for setting up helper
> applications, I couldn't find it with google.
>
> Running Moz 1.4 on Solaris 9 on a Sparc machine.


I'm not sure what you mean by "loading the file into a new navigator
window". Do you mean that the window gets filled by "strange"
characters? That is that the file is loaded as if it was a text file.
In that case it's the web server that serves the file with the wrong
mime type, probably text/plain instead of audio/x-wav. 

Mozilla 1.4 fathfully believes the web server. Later versions of
Mozilla (I don't remember from which version, probably 1.7) guesses
the correct mime type of a binary file from the file extension if the
mime type text/plain is given.

-- 
                - Mårten
 
mail: [email protected] *** ICQ: 4356928 *** mobile: +46 (0)707390385
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.