diff --git a/core/http/src/known_media_types.rs b/core/http/src/known_media_types.rs index d2458579..f4d4e034 100644 --- a/core/http/src/known_media_types.rs +++ b/core/http/src/known_media_types.rs @@ -17,6 +17,7 @@ macro_rules! known_media_types { BMP (is_bmp): "BMP", "image", "bmp", JPEG (is_jpeg): "JPEG", "image", "jpeg", WEBP (is_webp): "WEBP", "image", "webp", + AVIF (is_avif): "AVIF", "image", "avif", SVG (is_svg): "SVG", "image", "svg+xml", Icon (is_icon): "Icon", "image", "x-icon", WEBM (is_webm): "WEBM", "video", "webm", @@ -59,6 +60,7 @@ macro_rules! known_extensions { "jpeg" => JPEG, "jpg" => JPEG, "webp" => WEBP, + "avif" => AVIF, "svg" => SVG, "ico" => Icon, "flac" => FLAC,