Issue 1422094: email.MIME*.as_string removes duplicate spaces (original) (raw)
Issue1422094
Created on 2006-02-02 02:25 by hads, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (3) | ||
|---|---|---|
| msg27408 - (view) | Author: hads (hads) | Date: 2006-02-02 02:25 |
| In the following example all of the multiple spaces in the subject will be compressed into one space each. from email.MIMEMultipart import MIMEMultipart outer = MIMEMultipart() outer['Subject'] = "Subjects longer than 68 characters with multiple spaces get converted to one space." print outer.as_string() Will print: Content-Type: multipart/mixed; boundary="===============0820565010==" MIME-Version: 1.0 Subject: Subjects longer than 68 characters with multiple spaces get converted to one space. --===============0820565010== --===============0820565010==-- | ||
| msg83898 - (view) | Author: Daniel Diniz (ajaksu2) * ![]() |
Date: 2009-03-21 00:25 |
| Confirmed on trunk. | ||
| msg97595 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2010-01-11 17:45 |
| Duplicate of issue 5612, which has a small amount of additional info so I'm closing this one. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:15 | admin | set | github: 42859 |
| 2010-01-11 17:45:13 | r.david.murray | set | status: open -> closednosy: + r.david.murraymessages: + superseder: whitespace folding in the email package could be better ;-)resolution: duplicate |
| 2009-04-22 14:35:35 | ajaksu2 | set | keywords: + easy |
| 2009-03-21 00:25:51 | ajaksu2 | set | versions: + Python 2.6, - Python 2.4nosy: + ajaksu2messages: + type: behaviorstage: test needed |
| 2006-02-02 02:25:18 | hads | create |

