Skip to content

Commit

Permalink
Add AVIF media type registrations
Browse files Browse the repository at this point in the history
The new media type is submitted to IANA but has not been formally
published by IANA yet. Both Firefox and Chromium are already using
the mime type for AVIF images.

Citation: https://aomediacodec.github.io/av1-avif/#mime-registration
  • Loading branch information
kanru authored and abonander committed Aug 25, 2020
1 parent 8c7794d commit bea27b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mime_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ pub static MIME_TYPES: &[(&str, &[&str])] = &[
("atx", &["application/vnd.antix.game-component"]),
("au", &["audio/basic"]),
("avi", &["video/x-msvideo"]),
("avif", &["image/avif"]),
("aw", &["application/applixware"]),
("axa", &["audio/annodex"]),
("axs", &["application/olescript"]),
Expand Down

0 comments on commit bea27b3

Please sign in to comment.