Re: How Do I Define Helper Applications

Rod Miller <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Message-ID <[email protected]>
Mårten Svantesson wrote:
> 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.
> 
Thank you Marten,

Your interpretation of "loading the file ..." is correct - the file is
treated as text and loaded into a new window.

However, the same file will be processed properly under Windoze 98SE and
Internet Explorer. Does IE work off the file name extention rather than
the mime type?

Thx

Rod
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.