diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2018-06-20 18:25:54 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-06-20 22:20:41 +0000 |
| commit | feeff23556bc82778aab0ed80b576b953f064024 (patch) | |
| tree | 56e5d40afa80747b8b2de785ad9903f908cd6d90 /src/syscall/syscall_linux.go | |
| parent | f3f7bd5558d6c4aa2a7f62bb3c9e6d364fc43be9 (diff) | |
| download | go-feeff23556bc82778aab0ed80b576b953f064024.tar.xz | |
mime: change *.js mime type to application/javascript, not x-javascript
We delayed doing this for 4 years for fear that it might break something,
but it was standardized (RFC 4329) 12 years ago, and the default in Debian
and other places is correct:
$ cat /etc/mime.types | grep js$
application/javascript js
Time for us to change too.
I doubt there will be problems, but we'll see during the Go 1.11 beta.
Fixes #7498
Change-Id: Iba0bf8a6e707a64dd63317e1c0d6dd9a18634527
Reviewed-on: https://go-review.googlesource.com/120058
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall/syscall_linux.go')
0 files changed, 0 insertions, 0 deletions
