From 567a9322ad1980d22896efc3b642eedf997eb6d9 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 22 Sep 2020 18:52:06 +0530 Subject: [PATCH] mime: add mime type for avif image file format Fixes #44602 Change-Id: I28b6df5e2523fc2ece6fd8251fcabc83c7c38d89 Reviewed-on: https://go-review.googlesource.com/c/go/+/256478 Trust: Ian Lance Taylor Trust: Michael Knyszek Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor --- src/mime/type.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mime/type.go b/src/mime/type.go index 6d2b89e4059..a13aa04b5b0 100644 --- a/src/mime/type.go +++ b/src/mime/type.go @@ -72,6 +72,7 @@ var builtinTypesLower = map[string]string{ ".svg": "image/svg+xml", ".wasm": "application/wasm", ".webp": "image/webp", + ".avif": "image/avif", ".xml": "text/xml; charset=utf-8", }