summaryrefslogtreecommitdiffstats
path: root/Lib/email/test
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-10-09 21:50:54 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-10-09 21:50:54 (GMT)
commit0c8bee639368324b750176ee171cadd33847f18e (patch)
tree80ea562c781dd152e3b74f8633e04e5fdcb67a8f /Lib/email/test
parent9586cf8677225ba3bae946de4813655c3db90f88 (diff)
downloadcpython-0c8bee639368324b750176ee171cadd33847f18e.zip
cpython-0c8bee639368324b750176ee171cadd33847f18e.tar.gz
cpython-0c8bee639368324b750176ee171cadd33847f18e.tar.bz2
Issue #7082: When falling back to the MIME 'name' parameter, the
correct place to look for it is the Content-Type header. Patch by Darren Worrall.
Diffstat (limited to 'Lib/email/test')
-rw-r--r--Lib/email/test/data/msg_44.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/email/test/data/msg_44.txt b/Lib/email/test/data/msg_44.txt
index ae462a6..15a2252 100644
--- a/Lib/email/test/data/msg_44.txt
+++ b/Lib/email/test/data/msg_44.txt
@@ -16,16 +16,14 @@ X-Oblique-Strategy: Make a door into a window
--h90VIIIKmx
-Content-Type: text/plain
-Content-Disposition: inline; name="msg.txt"
+Content-Type: text/plain; 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-Type: text/plain; name="msg.txt"
Content-Transfer-Encoding: 7bit
a simple kind of mirror