go/src/mime
andrius4669 0ac4ea79f7 mime: encode CTL and non-US-ASCII characters in FormatMediaType
Encodes non-WSP CTL and non-US-ASCII UTF-8 characters using syntax specified in RFC 2231.

Fixes #7668
Fixes #9624

Change-Id: I433f167c5bdd84a7f811ac0410b08b10790e0d9f
GitHub-Last-Rev: 9c77146760
GitHub-Pull-Request: golang/go#29328
Reviewed-on: https://go-review.googlesource.com/c/go/+/154760
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-05-23 15:45:00 +00:00
..
multipart all: shorten some tests 2019-05-22 12:54:00 +00:00
quotedprintable all: shorten some tests 2019-05-22 12:54:00 +00:00
testdata
encodedword.go mime: do a pre-allocation in encodeWord 2018-05-15 16:20:14 +00:00
encodedword_test.go
example_test.go
grammar.go
mediatype.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
mediatype_test.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
type.go mime: add .webp for builtin 2019-05-21 14:05:00 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go
type_test.go
type_unix.go mime: add AIX operating system 2018-10-10 15:19:38 +00:00
type_windows.go