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

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

问题描述

使用7zip进行压缩并用密码保护,模仿类型应该是 application / 7zip,还是仅仅是 data / binary?

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

推荐答案

根据Wikipedia(7z文章),7zip存档的哑剧类型为。 application / x-7z压缩的,带有密码不会更改模仿类型。

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文件),其模仿类型应为 application / zip

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

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

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