我试图找出每个扩展名对应的MIME类型,但结果模糊不清。
根据webdesign.about.com,exe
的正确MIME类型是:application/octet-stream
根据freeformatter.com, exe
的正确MIME类型是:application/x-msdownload
,并且它说 bin
扩展名的MIME类型是 application/octet-stream
。
根据iana.org,exe
(或者我在那里没有看到exe,而是一个叫做vnd.microsoft.portable-executable的东西)的正确MIME类型是:application/vnd.microsoft.portable-executable
哪个网站最准确,因为我不知道在HTTP标头中服务器端会返回什么样的内容类型值。
application/exe
没有标准。这似乎是一个网站,记录了一些人们使用的非标准方法。 - Quentin