Skip to content

Commit

Permalink
mimetypes: add image/heic, image/heif and image/jxl (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp and abonander authored Jun 29, 2024
1 parent 5286da2 commit aac5aa7
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 @@ -104,6 +104,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 @@ -461,6 +462,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 @@ -579,6 +584,7 @@ pub static MIME_TYPES: &[(&str, &[&str])] = &[
("jsonml", &["application/jsonml+json"]),
("jsx", &["text/javascript"]),
("jsxbin", &["text/plain"]),
("jxl", &["image/jxl"]),
("k25", &["image/x-kodak-k25"]),
("kar", &["audio/midi"]),
("karbon", &["application/vnd.kde.karbon"]),
Expand Down

0 comments on commit aac5aa7

Please sign in to comment.