summaryrefslogtreecommitdiffstats
path: root/Lib/email/test/data
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-11-05 20:53:18 (GMT)
committerBarry Warsaw <barry@python.org>2002-11-05 20:53:18 (GMT)
commit00e6a02ef89fa8d4e388bee94acc2240ce961d5f (patch)
tree4fc330cba16bd3dfc10b234f031ab5e02a778cc9 /Lib/email/test/data
parent9288f95cb5d7be807c2ba6dbc195ec6b52ac3bd4 (diff)
downloadcpython-00e6a02ef89fa8d4e388bee94acc2240ce961d5f.zip
cpython-00e6a02ef89fa8d4e388bee94acc2240ce961d5f.tar.gz
cpython-00e6a02ef89fa8d4e388bee94acc2240ce961d5f.tar.bz2
Test case, distilled from SF bug #631350, where a subobject in a
multipart/digest isn't a message/rfc822. This is legal, but counter to recommended practice in RFC 2046, $5.1.5.
Diffstat (limited to 'Lib/email/test/data')
-rw-r--r--Lib/email/test/data/msg_34.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Lib/email/test/data/msg_34.txt b/Lib/email/test/data/msg_34.txt
new file mode 100644
index 0000000..055dfea
--- /dev/null
+++ b/Lib/email/test/data/msg_34.txt
@@ -0,0 +1,19 @@
+From: aperson@dom.ain
+To: bperson@dom.ain
+Content-Type: multipart/digest; boundary=XYZ
+
+--XYZ
+Content-Type: text/plain
+
+
+This is a text plain part that is counter to recommended practice in
+RFC 2046, $5.1.5, but is not illegal
+
+--XYZ
+
+From: cperson@dom.ain
+To: dperson@dom.ain
+
+A submessage
+
+--XYZ--