diff options
author | Barry Warsaw <barry@python.org> | 2006-01-17 04:49:07 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-01-17 04:49:07 (GMT) |
commit | a0f28efcd1819d7baccd1a212a21ffb1af5558bd (patch) | |
tree | b025f080749070ab78d6ab85e6bc5f47398e46e2 /Lib/email/test/data | |
parent | 989b69a519b1f4a765310b705b30ab0449153591 (diff) | |
download | cpython-a0f28efcd1819d7baccd1a212a21ffb1af5558bd.zip cpython-a0f28efcd1819d7baccd1a212a21ffb1af5558bd.tar.gz cpython-a0f28efcd1819d7baccd1a212a21ffb1af5558bd.tar.bz2 |
Ported 42075 from release23-maint branch.
SF bug #1403349 solution for email 3.0; some MUAs use the 'file' parameter
name in the Content-Distribution header, so Message.get_filename() should fall
back to using that. Will port to the Python 2.5 trunk.
Also, bump the email package version to 3.0.1 for eventual release. Of
course, add a test case too.
XXX Need to update the documentation.
Diffstat (limited to 'Lib/email/test/data')
-rw-r--r-- | Lib/email/test/data/msg_44.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Lib/email/test/data/msg_44.txt b/Lib/email/test/data/msg_44.txt new file mode 100644 index 0000000..ae462a6 --- /dev/null +++ b/Lib/email/test/data/msg_44.txt @@ -0,0 +1,35 @@ +Return-Path: <barry@python.org> +Delivered-To: barry@python.org +Received: by mail.python.org (Postfix, from userid 889) + id C2BF0D37C6; Tue, 11 Sep 2001 00:05:05 -0400 (EDT) +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="h90VIIIKmx" +Content-Transfer-Encoding: 7bit +Message-ID: <15261.36209.358846.118674@anthem.python.org> +From: barry@python.org (Barry A. Warsaw) +To: barry@python.org +Subject: a simple multipart +Date: Tue, 11 Sep 2001 00:05:05 -0400 +X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid +X-Attribution: BAW +X-Oblique-Strategy: Make a door into a window + + +--h90VIIIKmx +Content-Type: text/plain +Content-Disposition: inline; name="msg.txt" +Content-Transfer-Encoding: 7bit + +a simple kind of mirror +to reflect upon our own + +--h90VIIIKmx +Content-Type: text/plain +Content-Disposition: inline; name="msg.txt" +Content-Transfer-Encoding: 7bit + +a simple kind of mirror +to reflect upon our own + +--h90VIIIKmx-- + |