samuelneff / MimeTypeMap

Provides a huge dictionary of file extensions to mime types.
MIT License
625 stars 201 forks source link

Mime Type for .exe files #90

Closed ghost closed 5 years ago

ghost commented 5 years ago

Using Microsoft's urlmon.dll to identify mime types will give you 'application/x-msdownload' for .exe files in Visual Studio 2019, but according to your mapping .exe files will give us 'application/octet-stream'.

samuelneff commented 5 years ago

Looks like the registered mime type is actually application/vnd.microsoft.portable-executable. I'll make the change.

https://www.iana.org/assignments/media-types/application/vnd.microsoft.portable-executable

samuelneff commented 5 years ago

Updated