Most places I've seen (including when I serve up .dmg files) just use
the generic binary type of application/octet-stream.
On Monday, Apr 4, 2005, at 05:19 US/Central, Scott wrote:
I just ran across this again.
What is the best content type to specify for .dmg files?
Firefox keeps telling me they're binary files and saves them in such a
way that their default application is Hexedit instead of Disk Image
Mounter. I used a System Prefpane which allows me to specify something
else to get around it. For whatever reason, i haven't had trouble with
them in Camino recently.
SS
On Mar 19, 2005, at 03â51 P, Ruurd Koons wrote:
How the file is treated by Camino will depend on what the webserver
at www.someplace.com will tell Camino that the file is using the
content type. In your case the webserver probably doesn't know what
a .dmg file is and decides to tell Camino a text/html file is coming
over. This causes Camino (and Safari) to try to render it as html.
You'll get a download thing if the server would tell Camino that the
dmg file is some sort of format Camino knows it should download. I
think the default action on unknown content types is to download it
also.
I think that your problem is not in Camino or Safari, but on the host
you are putting the .dmg file. That host should configure their
webserver not to treat those files as text/html. What mime type it
should use, I don't know exactly.
Marc Respass wrote:
_______________________________________________
Camino mailing list
[email protected]
http://mozdev.org/mailman/listinfo/camino
_______________________________________________
Camino mailing list
[email protected]
http://mozdev.org/mailman/listinfo/camino