[PATCH] Recognize image/avif in mime.types

Maxim Dounin mdounin at mdounin.ru
Mon Oct 25 18:00:56 UTC 2021


Hello!

On Sun, Oct 10, 2021 at 09:43:16PM +0200, Artur Juraszek wrote:

> # HG changeset patch
> # User Artur Juraszek <artur at juraszek.xyz>
> # Date 1633893497 -7200
> #      Sun Oct 10 21:18:17 2021 +0200
> # Node ID d62a7ff2ec94678392024b875bbadac149a0feaf
> # Parent  ae7c767aa491fa55d3168dfc028a22f43ac8cf89
> Recognize image/avif in mime.types
> 
> It's an officially registered[1] image format that's now supported by most major web browsers.
> 
> [1] https://www.iana.org/assignments/media-types/media-types.xhtml
> 
> diff -r ae7c767aa491 -r d62a7ff2ec94 conf/mime.types
> --- a/conf/mime.types	Wed Oct 06 18:01:42 2021 +0300
> +++ b/conf/mime.types	Sun Oct 10 21:18:17 2021 +0200
> @@ -15,6 +15,7 @@
>      text/vnd.wap.wml                                 wml;
>      text/x-component                                 htc;
>  
> +    image/avif                                       avif;
>      image/png                                        png;
>      image/svg+xml                                    svg svgz;
>      image/tiff                                       tif tiff;

Added, thanks for prodding this.
https://hg.nginx.org/nginx/rev/3f0ab7b6cd71

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list