We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was thankfully using your wonderful library but got stuck on getting the mimetype for an outlook "message.msg" file..
So, for the mapping-part of "file-extensions to mimetypes" I added https://www.nuget.org/packages/MimeMapping to my project:
The Dictionary is generated from the https://github.com/jshttp/mime-db#mime-db Works similar to .NET's https://learn.microsoft.com/dotnet/api/system.web.mimemapping.getmimemapping). It aggregates data from the following sources: https://www.iana.org/assignments/media-types/media-types.xhtml https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types https://hg.nginx.org/nginx/raw-file/default/conf/mime.types The library is just a literal C# Dictionary<string, string> with over 1000 entries, and a helper method that can be passed a file path.
The Dictionary is generated from the https://github.com/jshttp/mime-db#mime-db Works similar to .NET's https://learn.microsoft.com/dotnet/api/system.web.mimemapping.getmimemapping).
It aggregates data from the following sources: https://www.iana.org/assignments/media-types/media-types.xhtml https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types https://hg.nginx.org/nginx/raw-file/default/conf/mime.types The library is just a literal C# Dictionary<string, string> with over 1000 entries, and a helper method that can be passed a file path.
Is there a chance using this class in your library (and save your time) ? https://github.com/visualon/MimeMapping/blob/main/KnownMimeTypes.cs
The text was updated successfully, but these errors were encountered:
Added the .msg <-> application/vnd.ms-outlook mime-type mapping
fdff9b9
Fixes issue #880
No branches or pull requests
I was thankfully using your wonderful library but got stuck on getting the mimetype for an outlook "message.msg" file..
So, for the mapping-part of "file-extensions to mimetypes" I added
https://www.nuget.org/packages/MimeMapping
to my project:
Is there a chance using this class in your library (and save your time) ?
https://github.com/visualon/MimeMapping/blob/main/KnownMimeTypes.cs
The text was updated successfully, but these errors were encountered: