]> Cypherpunks repositories - gostls13.git/commit
mime/multipart: add Part.NextRawPart to avoid QP decoding
authorAlex Buchanan <buchanae@gmail.com>
Thu, 6 Dec 2018 06:31:53 +0000 (22:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Oct 2019 17:03:37 +0000 (17:03 +0000)
commitdf380693f3eddf0a4ae7d195042b48b40e651d0e
tree8332c17f1f140cecf65feee2acfb6c0eb1b259a3
parenta08cb9f473405769f292bd2ff455764a690fe3e7
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>
src/mime/multipart/multipart.go
src/mime/multipart/multipart_test.go