X Tutup
Skip to content

Commit ce17481

Browse files
tsunokawabradfitz
authored andcommitted
mime: add .jpeg for builtin
Change-Id: I32b0c02039d8baca1358dac2cc0afd14fa6cd173 GitHub-Last-Rev: d3be7aa GitHub-Pull-Request: golang#31232 Reviewed-on: https://go-review.googlesource.com/c/go/+/170657 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
1 parent 1e3cdd1 commit ce17481

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mime/type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ var builtinTypesLower = map[string]string{
6262
".htm": "text/html; charset=utf-8",
6363
".html": "text/html; charset=utf-8",
6464
".jpg": "image/jpeg",
65+
".jpeg": "image/jpeg",
6566
".js": "application/javascript",
6667
".wasm": "application/wasm",
6768
".pdf": "application/pdf",

0 commit comments

Comments
 (0)
X Tutup