R. David Murray <rdmur...@bitdance.com> added the comment:

Yes.

There's this thing called Postel's Law that says you should be generous in what 
you accept and careful in what you emit.  So most MTAs and MUAs try very hard 
to guess what a non-RFC-compliant email is trying to say, which includes 
allowing spaces between the label and the colon (which I believe was legal at 
least in RFC 822, though I haven't checked).  If there's a space in the label, 
the handling for that is less predictable.  The email library's default is to 
treat that as a non-header line and therefor the start of the body (even if not 
followed by a blank line).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to