為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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.