问题
It's zipped and password protected with 7zip, should the mimetype be "application/7zip", or just "data/binary"? Something else?
回答1:
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.
If it is a zip (ie. not 7-zip file), the mimetype should be application/zip
来源:https://stackoverflow.com/questions/2203400/whats-the-correct-email-attachment-mime-type-for-a-zipped-and-password-protecte