Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top