mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00

the trunk patch, and removes the last trace of bdecode, which was a commented out call in message.py. Merged revisions 78778 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines Issue #7143: get_payload used to strip any trailing newline from a base64 transfer-encoded payload *after* decoding it; it no longer does. email had a special method in utils, _bdecode, specifically to do this, so it must have served a purpose at some point, yet it is clearly wrong per RFC. Fixed with Barry's approval, but no backport. Email package minor version number is bumped, now version 4.0.1. Patch by Joaquin Cuenca Abela. ........
39 lines
882 B
Text
39 lines
882 B
Text
MIME-Version: 1.0
|
|
From: Barry Warsaw <barry@zope.com>
|
|
To: Dingus Lovers <cravindogs@cravindogs.com>
|
|
Subject: Lyrics
|
|
Date: Fri, 20 Apr 2001 19:35:02 -0400
|
|
Content-Type: multipart/mixed; boundary="BOUNDARY"
|
|
|
|
--BOUNDARY
|
|
Content-Type: text/plain; charset="us-ascii"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
This is a 7bit encoded message.
|
|
|
|
--BOUNDARY
|
|
Content-Type: text/html; charset="iso-8859-1"
|
|
Content-Transfer-Encoding: Quoted-Printable
|
|
|
|
=A1This is a Quoted Printable encoded message!
|
|
|
|
--BOUNDARY
|
|
Content-Type: text/plain; charset="iso-8859-1"
|
|
Content-Transfer-Encoding: Base64
|
|
|
|
VGhpcyBpcyBhIEJhc2U2NCBlbmNvZGVkIG1lc3NhZ2Uu
|
|
|
|
|
|
--BOUNDARY
|
|
Content-Type: text/plain; charset="iso-8859-1"
|
|
Content-Transfer-Encoding: Base64
|
|
|
|
VGhpcyBpcyBhIEJhc2U2NCBlbmNvZGVkIG1lc3NhZ2UuCg==
|
|
|
|
|
|
--BOUNDARY
|
|
Content-Type: text/plain; charset="iso-8859-1"
|
|
|
|
This has no Content-Transfer-Encoding: header.
|
|
|
|
--BOUNDARY--
|