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
Hi, could the following extensions and types be added in custom-types.json?
custom-types.json
Bellow is the diff:
From 72cb0ea86260410a0947e69a34fb713509bebd45 Mon Sep 17 00:00:00 2001 From: Ivan P <114432443+ipetrouchtchak-fi@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:53:38 -0700 Subject: [PATCH] add some missing MS extensions and types --- src/custom-types.json | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/custom-types.json b/src/custom-types.json index f95ffdf..c2e4de5 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -652,7 +652,12 @@ ] }, "image/pjpeg": { - "compressible": false + "compressible": false, + "extensions": ["jfif"], + "sources": [ + "https://github.com/microsoft/referencesource/blob/master/System.Web/MimeMapping.cs#L212", + "https://mimetype.io/image/pjpeg" + ] }, "image/png": { "compressible": false @@ -710,7 +715,10 @@ }, "message/rfc822": { "compressible": true, + "extensions": ["mht", "mhtml"], "sources": [ + "https://mimetype.io/message/rfc822", + "https://github.com/microsoft/referencesource/blob/master/System.Web/MimeMapping.cs#L235-L236", "http://en.wikipedia.org/wiki/MIME#Multipart_subtypes" ] }, @@ -949,5 +957,24 @@ "sources": [ "https://developer.mozilla.org/en-US/docs/Web/WebGL/Adding_2D_content_to_a_WebGL_context" ] + }, + "application/onenote": { + "extensions": ["one", "onea"], + "sources": [ + "https://github.com/microsoft/referencesource/blob/master/System.Web/MimeMapping.cs#L265-L266" + ] + }, + "application/vnd.visio": { + "extensions": ["vsdx"], + "sources": [ + "https://mimetype.io/application/vnd.visio", + "https://learn.microsoft.com/en-us/office/client-developer/visio/introduction-to-the-visio-file-formatvsdx" + ] + }, + "application/vnd.ms-visio.viewer": { + "extensions": ["vsdx", "vtx"], + "sources": [ + "https://github.com/microsoft/referencesource/blob/master/System.Web/MimeMapping.cs#L379" + ] } } -- 2.45.2.windows.1
The text was updated successfully, but these errors were encountered:
Hey! Any reason not to open this as a PR? If not, could you do so?
Sorry, something went wrong.
@wesleytodd, I don't seem to have the proper access for it.
You would need to fork to your personal account and open a PR from there.
@wesleytodd, please review the changes: #336
No branches or pull requests
Hi, could the following extensions and types be added in
custom-types.json
?Bellow is the diff:
The text was updated successfully, but these errors were encountered: