为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.