1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:24:42 -07:00
go/src/mime
Brad Fitzpatrick db2bf154cc mime: update .mjs MIME type from text/ to application/javascript
.mjs should be the same MIME type as .js, and RFC 4329 says that
text/javascript is obsolete, even back in 2006:

    https://tools.ietf.org/html/rfc4329#section-7.1

I didn't notice this when I recently reviewed CL 169502.

Also, re-sort it.

Updates #30547

Change-Id: I8ed8ddaf06c8a08b010423ebd071f39ef3a325e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/175459
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Run-TryBot: Andrew Bonventre <andybons@golang.org>
2019-05-13 17:01:25 +00:00
..
multipart mime/multipart: quote boundary in Content-Type if necessary 2018-12-13 23:58:06 +00:00
quotedprintable
testdata
encodedword_test.go
encodedword.go
example_test.go
grammar.go
mediatype_test.go
mediatype.go mime: remove allocation introduced in recent fix 2018-11-20 19:09:38 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go
type_test.go
type_unix.go
type_windows.go
type.go mime: update .mjs MIME type from text/ to application/javascript 2019-05-13 17:01:25 +00:00