[Email-SIG] Messages that start with '>'

Barry Warsaw barry at python.org
Mon Nov 29 04:35:47 CET 2004


On Sun, 2004-11-28 at 21:10, Tony Meyer wrote:
> [Tony Meyer]
> >> A change in email 3.0 is that messages that start with '>' are 
> >> considered to be all body and no header, e.g:
> 
> [Barry Warsaw]
> > It's not valid to start a message with ">From".
> 
> Are you sure?  I'm not as familiar with RFC2822 as I'm sure you are, but
> reading it, it seems that a header name can be any characters from (ASCII
> ord) 33-57 and 59-126, which includes ">" (e.g. you could have a ">Dumbname:
> value" header).  Non-standard headers typically start with "X-", of course,
> but that's not required by RFC2822 (again, as I understand it).

Oops, I really meant ">From ".  Your other point is a fair cop.  The
relevant section is 3.6.8 in RFC 2822.  I have a patch and a test case
for this, which I'll sneak in momentarily, assuming Python's "make test"
succeeds.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/email-sig/attachments/20041128/a5456486/attachment.pgp


More information about the Email-SIG mailing list