Skip to content

Commit

Permalink
fix: Add some MS-related extensions and types (#336)
Browse files Browse the repository at this point in the history
* add some MS-related extensions and types

* use permalinks
  • Loading branch information
ipetrouchtchak-fi authored Nov 14, 2024
1 parent ae4ada9 commit 9f56840
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/custom-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,12 @@
]
},
"image/pjpeg": {
"compressible": false
"compressible": false,
"extensions": ["jfif"],
"sources": [
"https://github.com/microsoft/referencesource/blob/51cf7850defa8a17d815b4700b67116e3fa283c2/System.Web/MimeMapping.cs#L212",
"https://mimetype.io/image/pjpeg"
]
},
"image/png": {
"compressible": false
Expand Down Expand Up @@ -710,7 +715,10 @@
},
"message/rfc822": {
"compressible": true,
"extensions": ["mht", "mhtml"],
"sources": [
"https://mimetype.io/message/rfc822",
"https://github.com/microsoft/referencesource/blob/51cf7850defa8a17d815b4700b67116e3fa283c2/System.Web/MimeMapping.cs#L235-L236",
"http://en.wikipedia.org/wiki/MIME#Multipart_subtypes"
]
},
Expand Down Expand Up @@ -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/51cf7850defa8a17d815b4700b67116e3fa283c2/System.Web/MimeMapping.cs#L265-L266"
]
},
"application/vnd.visio": {
"extensions": ["vsdx", "vtx"],
"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": ["vdx"],
"sources": [
"https://github.com/microsoft/referencesource/blob/51cf7850defa8a17d815b4700b67116e3fa283c2/System.Web/MimeMapping.cs#L379"
]
}
}

0 comments on commit 9f56840

Please sign in to comment.