1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:00:05 -07:00
go/src/mime
Alex Buchanan df380693f3 mime/multipart: add Part.NextRawPart to avoid QP decoding
NextPart has automatic handling of quoted-printable encoding,
which is sometimes undesirable. NextRawPart adds a method
for reading a part while bypassing such automatic handling.

Fixes #29090

Change-Id: I6a042a4077c64091efa3f5dbecce0d9a34ac7065
Reviewed-on: https://go-review.googlesource.com/c/go/+/152877
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-10-11 17:03:37 +00:00
..
multipart mime/multipart: add Part.NextRawPart to avoid QP decoding 2019-10-11 17:03:37 +00:00
quotedprintable all: shorten some tests 2019-05-22 12:54:00 +00:00
testdata
encodedword_test.go
encodedword.go
example_test.go
grammar.go
mediatype_test.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
mediatype.go mime: encode CTL and non-US-ASCII characters in FormatMediaType 2019-05-23 15:45:00 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go
type_test.go
type_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
type_windows.go
type.go mime: update type of .js and .mjs files to text/javascript 2019-09-01 10:08:53 +00:00