mime-types 0.1.2.1 → 0.1.2.2
raw patch · 3 files changed
+8/−1 lines, 3 files
Files
- ChangeLog.md +4/−0
- Network/Mime.hs +3/−0
- mime-types.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.1.2.2++* Add IANA registered `image/avif` type for `.avif` images. [#1059](https://github.com/yesodweb/wai/pull/1059)+ ## 0.1.2.1 * Change type for JavaScript files to `text/javascript` [#1051](https://github.com/yesodweb/wai/pull/1051)
Network/Mime.hs view
@@ -102,6 +102,8 @@ go (ext, mimeType) = Map.alter (Just . maybe [ext] (ext :)) mimeType +-- | Find the current table in IANA media-types registry+-- https://www.iana.org/assignments/media-types/media-types.xhtml mimeAscList :: [(Extension, MimeType)] mimeAscList = [ ("123", "application/vnd.lotus-1-2-3")@@ -150,6 +152,7 @@ , ("atx", "application/vnd.antix.game-component") , ("au", "audio/basic") , ("avi", "video/x-msvideo")+ , ("avif", "image/avif") , ("aw", "application/applixware") , ("azf", "application/vnd.airzip.filesecure.azf") , ("azs", "application/vnd.airzip.filesecure.azs")
mime-types.cabal view
@@ -1,5 +1,5 @@ name: mime-types-version: 0.1.2.1+version: 0.1.2.2 synopsis: Basic mime-type handling types and functions description: API docs and the README are available at <http://www.stackage.org/package/mime-types>. homepage: https://github.com/yesodweb/wai