Skip to content

Commit

Permalink
mimetypes: add image/heic, image/heif and image/jxl
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp authored and ttys3 committed Sep 26, 2023
1 parent 49201a0 commit 2deb05e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mime_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ pub static MIME_TYPES: &[(&str, &[&str])] = &[
("au", &["audio/basic"]),
("avi", &["video/x-msvideo"]),
("avif", &["image/avif"]),
("avifs", &["image/avif-sequence"]),
("aw", &["application/applixware"]),
("axa", &["audio/annodex"]),
("axs", &["application/olescript"]),
Expand Down Expand Up @@ -449,6 +450,10 @@ pub static MIME_TYPES: &[(&str, &[&str])] = &[
("hdf", &["application/x-hdf"]),
("hdml", &["text/x-hdml"]),
("hdr", &["image/vnd.radiance"]),
("heic", &["image/heic"]),
("heics", &["image/heic-sequence"]),
("heif", &["image/heif"]),
("heifs", &["image/heif-sequence"]),
("hh", &["text/plain"]),
("hhc", &["application/x-oleobject"]),
("hhk", &["application/octet-stream"]),
Expand Down Expand Up @@ -567,6 +572,7 @@ pub static MIME_TYPES: &[(&str, &[&str])] = &[
("jsonml", &["application/jsonml+json"]),
("jsx", &["text/jscript"]),
("jsxbin", &["text/plain"]),
("jxl", &["image/jxl"]),
("kar", &["audio/midi"]),
("karbon", &["application/vnd.kde.karbon"]),
("kfo", &["application/vnd.kde.kformula"]),
Expand Down

0 comments on commit 2deb05e

Please sign in to comment.