1
0
mirror of https://github.com/golang/go synced 2024-11-17 12:54:47 -07:00

mime: add .json for builtin

This commit is contained in:
An Long 2019-10-07 23:41:19 +08:00 committed by Daniel Martí
parent fadbf7404d
commit ce4eae56a4

View File

@ -65,6 +65,7 @@ var builtinTypesLower = map[string]string{
".jpeg": "image/jpeg",
".jpg": "image/jpeg",
".js": "text/javascript; charset=utf-8",
".json": "application/json",
".mjs": "text/javascript; charset=utf-8",
".pdf": "application/pdf",
".png": "image/png",