Quote:
Originally Posted by Elsi
I would venture a guess that the server did not include a proper mime-type header on the http transmission of the file. That leaves it to the browser/agent to determine the file type. Some simply use the file suffix and trust the "well-known" names to indicate the file type. Others will inspect the file's contents and make a decision from that. Some are arrogant & will override the mime-type header even when it is present.
|
Actually I think it's more complicated:
First and foremost the webside developer forgot the provide the mime-type. On modern system they can - for example - be attached to the extended attributes and Apache can be told to read the EA's to determine the correct type.
Without the type being provided in the EA'a Apache starts guesswork. First he extension ebub comes up which nothing then Apache would try /etc/mime-magic which comes up with "application/zip" - which is send to the bowser.
Now IE - being a smart arse
(like most Microsoft products) and always trying to protect us from problems
(which we would not have without Microsoft) renames the file.
Martin