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: > Mårten Svantesson wrote: > >> 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? Yeah, at least in some cases. This behaviour is wrong according to the HTTP standard (RFC 2616). It also encourages faulty behaviour from the web servers. Anyway, the compromise of the later Mozillas (as described above) is decent. -- - Mårten mail: [email protected] *** ICQ: 4356928 *** mobile: +46 (0)707390385