MimeMapping icon indicating copy to clipboard operation
MimeMapping copied to clipboard

Parity with System.Web.MimeMapping.GetMimeMapping for some MS extensions

Open ipetrouchtchak-fi opened this issue 1 year ago • 3 comments

Would it possible to add mappings for some of the missing Microsoft extensions, which are found in System.Web.MimeMapping: https://github.com/microsoft/referencesource/blob/master/System.Web/MimeMapping.cs

AddMapping(".jfif", "image/pjpeg");
AddMapping(".mht", "message/rfc822");
AddMapping(".mhtml", "message/rfc822");
AddMapping(".one", "application/onenote");
AddMapping(".vdx", "application/vnd.ms-visio.viewer");
AddMapping(".vsx", "application/vnd.visio");
AddMapping(".vtx", "application/vnd.visio");
...

ipetrouchtchak-fi avatar Aug 22 '24 19:08 ipetrouchtchak-fi

feel free to open a PR 🤗

viceice avatar Aug 23 '24 10:08 viceice

Opened a PR on mime-db: https://github.com/jshttp/mime-db/issues/335#issuecomment-2322408562

ipetrouchtchak-fi avatar Sep 09 '24 23:09 ipetrouchtchak-fi

Upstream PR merged but not yet released

  • https://github.com/jshttp/mime-db/pull/336

viceice avatar Dec 09 '24 09:12 viceice