mirror of
https://github.com/golang/go
synced 2024-11-26 08:17:59 -07:00
mime: keep builtinTypesLower sorted alphabetically
Updates #44602 Change-Id: I2c32e388143e56928850821587f57d9729434220 Reviewed-on: https://go-review.googlesource.com/c/go/+/310034 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
61a08fc6ce
commit
b1c4cc5589
@ -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",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user