This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jelie
Recipients jelie, pitrou, r.david.murray, rhettinger
Date 2010-11-03.18:01:07
SpamBayes Score 0.0066138604
Marked as misclassified No
Message-id <1288807269.96.0.136484698532.issue10281@psf.upfronthosting.co.za>
In-reply-to
Content
> My conclusion in working on the email package is that only
> the first space after the ':', if it exists, should be stripped.
> That is, even though the RFC (for email) reads as if the space
> after the colon is part of the value, in practice it is part
> of the delimiter, but is optional (and almost always present,
> in email).

That is why the RFC (for netnews) explicitly mentions that the space after the colon is not part of the value.  See the grammar for OVER in RFC 3977:

  hdr-n-content = [(header-name ":" / metadata-name) SP hdr-content]

So yes, only the first space should be stripped.
History
Date User Action Args
2010-11-03 18:01:10jeliesetrecipients: + jelie, rhettinger, pitrou, r.david.murray
2010-11-03 18:01:09jeliesetmessageid: <1288807269.96.0.136484698532.issue10281@psf.upfronthosting.co.za>
2010-11-03 18:01:08jelielinkissue10281 messages
2010-11-03 18:01:07jeliecreate