Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
封存

MIME Type for .zip file

manstis replied
manstis

Hello,

I am developing a web application and notice the MIME-type for .zip files is "application/x-sdlc" mapped in mimeTypes.rdf.

My question, why is this so?

The common MIME-types for ZIP files is normally one of: "application/zip", "application/x-compress", "application/x-compressed", "application/x-zip", "application/x-zip-compressed", "application/zip-compressed" or "application/x-7zip-compressed".

I can code around the problem, but I am just curious.

Thanks,

Mike

Hello, I am developing a web application and notice the MIME-type for .zip files is "application/x-sdlc" mapped in mimeTypes.rdf. My question, why is this so? The common MIME-types for ZIP files is normally one of: "application/zip", "application/x-compress", "application/x-compressed", "application/x-zip", "application/x-zip-compressed", "application/zip-compressed" or "application/x-7zip-compressed". I can code around the problem, but I am just curious. Thanks, Mike

所有回覆 (2)

Maybe you once have set an automatic action for a ZIP file and that file was send with the MIME type "application/x-sdlc". You can try to remove that line from mimeTypes.rdf to see if that makes it work better.

AFAIK mimeTypes.rdf is the standard vanilla Fire Fox MIME mapping file following a fresh install (3.6.18); so nothing custom here I am afraid. However a colleague with FF5 says the problem no longer exists - I am to try that.