File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ ## 0.1.2.2
2+
3+ * Add IANA registered ` image/avif ` type for ` .avif ` images. [ #1059 ] ( https://github.com/yesodweb/wai/pull/1059 )
4+
15## 0.1.2.1
26
37* Change type for JavaScript files to ` text/javascript ` [ #1051 ] ( https://github.com/yesodweb/wai/pull/1051 )
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ defaultExtensionMap =
102102 go (ext, mimeType) =
103103 Map. alter (Just . maybe [ext] (ext : )) mimeType
104104
105+ -- | Find the current table in IANA media-types registry
106+ -- https://www.iana.org/assignments/media-types/media-types.xhtml
105107mimeAscList :: [(Extension , MimeType )]
106108mimeAscList =
107109 [ (" 123" , " application/vnd.lotus-1-2-3" )
@@ -150,6 +152,7 @@ mimeAscList =
150152 , (" atx" , " application/vnd.antix.game-component" )
151153 , (" au" , " audio/basic" )
152154 , (" avi" , " video/x-msvideo" )
155+ , (" avif" , " image/avif" )
153156 , (" aw" , " application/applixware" )
154157 , (" azf" , " application/vnd.airzip.filesecure.azf" )
155158 , (" azs" , " application/vnd.airzip.filesecure.azs" )
You can’t perform that action at this time.
0 commit comments