压缩和密码保护文件的正确电子邮件附件 MIME 类型是什么? [英] What's the correct email attachment MIME type for a zipped and password protected file?

查看:27
本文介绍了压缩和密码保护文件的正确电子邮件附件 MIME 类型是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它是用 7zip 压缩和密码保护的,mimetype 应该是application/7zip"还是data/binary"?还有什么?

It's zipped and password protected with 7zip, should the mimetype be "application/7zip", or just "data/binary"? Something else?

推荐答案

根据维基百科(7z 文章),7zip 存档的 mime 类型是 application/x-7z-compressed,具有密码不会改变 mimetype.

According to Wikipedia (7z article), the mime type of a 7zip archive is application/x-7z-compressed, having a password on it will not change the mimetype.

如果是 zip(即不是 7-zip 文件),mimetype 应该是 application/zip

If it is a zip (ie. not 7-zip file), the mimetype should be application/zip

这篇关于压缩和密码保护文件的正确电子邮件附件 MIME 类型是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆