From ce17481b7a83fb6eee2c00a6ce70ef024ae03aef Mon Sep 17 00:00:00 2001 From: Kenichi Tsunokawa Date: Wed, 3 Apr 2019 17:56:44 +0000 Subject: [PATCH] mime: add .jpeg for builtin Change-Id: I32b0c02039d8baca1358dac2cc0afd14fa6cd173 GitHub-Last-Rev: d3be7aa039fbe94450c54f2c1dc5a510cf183378 GitHub-Pull-Request: golang/go#31232 Reviewed-on: https://go-review.googlesource.com/c/go/+/170657 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/mime/type.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mime/type.go b/src/mime/type.go index 3a8fe4447fa..a7292387c09 100644 --- a/src/mime/type.go +++ b/src/mime/type.go @@ -62,6 +62,7 @@ var builtinTypesLower = map[string]string{ ".htm": "text/html; charset=utf-8", ".html": "text/html; charset=utf-8", ".jpg": "image/jpeg", + ".jpeg": "image/jpeg", ".js": "application/javascript", ".wasm": "application/wasm", ".pdf": "application/pdf",