]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Test case, distilled from SF bug #631350, where a subobject in a
authorBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 20:53:18 +0000 (20:53 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 20:53:18 +0000 (20:53 +0000)
multipart/digest isn't a message/rfc822.  This is legal, but counter
to recommended practice in RFC 2046, $5.1.5.

Lib/email/test/data/msg_34.txt [new file with mode: 0644]

diff --git a/Lib/email/test/data/msg_34.txt b/Lib/email/test/data/msg_34.txt
new file mode 100644 (file)
index 0000000..055dfea
--- /dev/null
@@ -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--