mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue