Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

MIME Type for .zip file

  • 2 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 manstis

more options

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)

more options

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.

more options

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.