go/src/mime
Simon Thulbourn 28c201860e mime/multipart: sort header keys to ensure reproducible output
Adds a transparent sort to the mime/multipart package, which is
only used in the CreatePart func. This will ensure the ordering
of the MIMEHeader.

The point of this change was to ensure the output would be consistent
and something that could be depended on.

Fixes #13522

Change-Id: I9584ef9dbe98ce97d536d897326914653f8d9ddf
Reviewed-on: https://go-review.googlesource.com/17497
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-16 22:55:16 +00:00
..
multipart mime/multipart: sort header keys to ensure reproducible output 2016-05-16 22:55:16 +00:00
quotedprintable
testdata
encodedword.go all: standardize RFC mention format 2016-04-12 21:07:52 +00:00
encodedword_test.go mime: fix maximum length of encoded-words 2016-03-29 11:19:31 +00:00
example_test.go
grammar.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
mediatype.go all: single space after period. 2016-03-02 00:13:47 +00:00
mediatype_test.go mime: fix parsing of empty string attribute value 2015-12-05 20:14:25 +00:00
type.go
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go mime: fix mime type file name on Plan 9 2016-05-15 19:56:08 +00:00
type_test.go
type_unix.go
type_windows.go