From: Tobias Klauser Date: Thu, 15 Apr 2021 08:48:12 +0000 (+0200) Subject: mime: keep builtinTypesLower sorted alphabetically X-Git-Tag: go1.17beta1~630 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b1c4cc558958e564846eecb68ff0ee99c820d221;p=gostls13.git mime: keep builtinTypesLower sorted alphabetically Updates #44602 Change-Id: I2c32e388143e56928850821587f57d9729434220 Reviewed-on: https://go-review.googlesource.com/c/go/+/310034 Trust: Tobias Klauser Run-TryBot: Tobias Klauser Reviewed-by: Emmanuel Odeke TryBot-Result: Go Bot --- diff --git a/src/mime/type.go b/src/mime/type.go index a13aa04b5b..9bbbf216a1 100644 --- a/src/mime/type.go +++ b/src/mime/type.go @@ -58,6 +58,7 @@ func setMimeTypes(lowerExt, mixExt map[string]string) { } var builtinTypesLower = map[string]string{ + ".avif": "image/avif", ".css": "text/css; charset=utf-8", ".gif": "image/gif", ".htm": "text/html; charset=utf-8", @@ -72,7 +73,6 @@ var builtinTypesLower = map[string]string{ ".svg": "image/svg+xml", ".wasm": "application/wasm", ".webp": "image/webp", - ".avif": "image/avif", ".xml": "text/xml; charset=utf-8", }