diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-01-16 18:30:03 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-01-16 18:30:03 (GMT) |
commit | a8f480f54597cf20e460b12e17bb0416a8008868 (patch) | |
tree | 3ce1c3a6e2bdc298c8fcb530eeb4d14525b9495e /Lib/email/test/data | |
parent | 9f96ffc8b9e647d0a192b20013d4b8fcff32f586 (diff) | |
download | cpython-a8f480f54597cf20e460b12e17bb0416a8008868.zip cpython-a8f480f54597cf20e460b12e17bb0416a8008868.tar.gz cpython-a8f480f54597cf20e460b12e17bb0416a8008868.tar.bz2 |
Merged revisions 77517,77525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Merge adds an additional test for as_string with a maxheaderlen specified.
........
r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines
Issue #1670765: Prevent email.generator.Generator from re-wrapping
headers in multipart/signed MIME parts, which fixes one of the sources of
invalid modifications to such parts by Generator. Patch and tests by
Martin von Gagern.
........
r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines
Fix issue number in comment.
........
Diffstat (limited to 'Lib/email/test/data')
-rw-r--r-- | Lib/email/test/data/msg_45.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Lib/email/test/data/msg_45.txt b/Lib/email/test/data/msg_45.txt new file mode 100644 index 0000000..58fde95 --- /dev/null +++ b/Lib/email/test/data/msg_45.txt @@ -0,0 +1,33 @@ +From: <foo@bar.baz> +To: <baz@bar.foo> +Subject: test +X-Long-Line: Some really long line contains a lot of text and thus has to be rewrapped because it is some + really long + line +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="borderline"; + protocol="application/pgp-signature"; micalg=pgp-sha1 + +This is an OpenPGP/MIME signed message (RFC 2440 and 3156) +--borderline +Content-Type: text/plain +X-Long-Line: Another really long line contains a lot of text and thus has to be rewrapped because it is another + really long + line + +This is the signed contents. + +--borderline +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature +Content-Disposition: attachment; filename="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.6 (GNU/Linux) + +iD8DBQFG03voRhp6o4m9dFsRApSZAKCCAN3IkJlVRg6NvAiMHlvvIuMGPQCeLZtj +FGwfnRHFBFO/S4/DKysm0lI= +=t7+s +-----END PGP SIGNATURE----- + +--borderline-- |