]> Cypherpunks repositories - gostls13.git/commit
mime/multipart: moved some code to mime/internal/quotedprintable
authorAlexandre Cesaro <alexandre.cesaro@gmail.com>
Thu, 18 Dec 2014 20:33:34 +0000 (21:33 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 23 Dec 2014 19:30:02 +0000 (19:30 +0000)
commit0d4ea0c70d2c8fbdf1f9263f919c79c33b4ce8e0
tree600bb4512ed39a7c1af75907adcd17e982343d70
parent10be797578925708afb140ceb771c8e2d6346332
mime/multipart: moved some code to mime/internal/quotedprintable

The code concerning quoted-printable encoding (RFC 2045) and its
variant for MIME headers (RFC 2047) is currently spread in
mime/multipart and net/mail. It is also not exported.

This commit is the first step to fix that issue. It moves the
quoted-printable decoding code from mime/multipart to
mime/internal/quotedprintable. The exposed API is unchanged.

Concerns #4943.

Change-Id: I11352afbb2edb4d6ef62870b9bc5c87c639eff12
Reviewed-on: https://go-review.googlesource.com/1810
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/go/build/deps_test.go
src/mime/internal/quotedprintable/quotedprintable.go [moved from src/mime/multipart/quotedprintable.go with 97% similarity]
src/mime/internal/quotedprintable/quotedprintable_test.go [moved from src/mime/multipart/quotedprintable_test.go with 97% similarity]
src/mime/multipart/multipart.go