I could have sworn we did a whole bunch of work to match Safari at some point. Am I smoking something? Did that all disappear?

Simon

On Thursday, October 16, 2003, at 10:41 AM, Chris Casciano wrote:


On Thursday, October 16, 2003, at 07:31 AM, Martin Ler wrote:



On Oct 16, 2003, at 1:14 PM, [EMAIL PROTECTED] wrote:


AFAIK this is the fault of the server admins, not Camino. The server hasn't been set up to recognise .dmg files as binary, so it assumes text/plain as the mime type. Can anyone else confirm that?

Yes, it's very possible that you are right. But - what? Do you care more about server settings or about user? And i would like to mention, that Safari is downloading it correctly...



This is nowhere near as straight forward an issue as you make it out to be, and in fact Safari (a) doesn't blindly assume anything .dmg is a disk image and (b) can also get outwitted by odd server configurations.


For example try loading the following two files with the extension ".dmg" that are sent as text/html from my server.

http://placenamehere.com/Mozilla/htmltest1.dmg
http://placenamehere.com/Mozilla/htmltest2.dmg

The first being a hypertext file, the second being a valid disk image I created. Both are displayed inside the browser window in *both* Camino and Safari.

Now, I'm not saying there shouldn't be some investigation of how to sniff for various binary formats being incorrectly sent over the wire, its just that its not an easy thing to do and does require some content sniffing as well as examination of the url and the mime type used.

-- www.simonwoodside.com :: www.openict.net :: www.semacode.org 99% Devil, 1% Angel

_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino

Reply via email to