mirror of
https://github.com/golang/go
synced 2024-11-21 17:34:40 -07:00
mime: extend builtinTypesLower
Comment with the source of the builtin types Updates golang/go#69530
This commit is contained in:
parent
4526569ba7
commit
3cc1e3ceb2
@ -50,6 +50,8 @@ func setMimeTypes(lowerExt, mixExt map[string]string) {
|
||||
}
|
||||
}
|
||||
|
||||
// These are just commomly used types mostly taken from
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
||||
var builtinTypesLower = map[string]string{
|
||||
".7z": "application/x-7z-compressed",
|
||||
".aac": "audio/aac",
|
||||
|
Loading…
Reference in New Issue
Block a user