Re: Parsing the Injection-Info: header field
Julien ÉLIE <[email protected]> Sat, 9 Jan 2010 11:22:45 +0100
| Newsgroups | gmane.ietf.usenet.format |
|---|---|
| Organization | TrigoFACILE -- http://www.trigofacile.com/ |
| Message-ID | <7FDA90361E9E4C85A22D79FA9014E5C0@Iulius> |
Hi Antti-Juhani, >> Why should RFC 822 be followed here? > > This is how I understand it: > > Because RFC 2231 is what defines <parameter>, and RFC 2231 is written i= n the > context of RFC 822 ABNF, not RFC 5322 (or RFC 2822) ABNF. Thus, the im= plicit > CFWS semantics of RFC 822 must be applied to the definition of <paramet= er>, > even though the rest of RFC 5536 follows RFC 5322 in not having implici= t CFWS. Yet, RFC 5322 mentions in its introduction: This document specifies a syntax only for text messages. In particular, it makes no provision for the transmission of images, audio, or other sorts of structured data in electronic mail messages. There are several extensions published, such as the MIME document series ([RFC2045], [RFC2046], [RFC2049]), which describe mechanisms for the transmission of such data through electronic mail, either by extending the syntax provided here or by structuring such messages to conform to this syntax. Those mechanisms are outside of the scope of this specification. I understand that RFC 2045 now extends the syntax of RFC 5322 (instead of RFC 822). RFC 2231 extends the syntax of RFC 2045 so it is normally currently based on RFC 5322. >> So it shows that a space is allowed before "=3D". >> Isn't it a difference with RFC 5322 that ought to be mentioned in appe= ndix C? > > What difference is that? RFC 5322 does not define <parameter>. Sure, but USEFOR is said to comply with RFC 5322 which specifies that RFC= 2045 syntax is now based upon RFC 5322 (or that RFC 2045 is to structure messa= ges to conform to RFC 5322 -- which is basically the same for now unauthorize= d folding rules). > This confusion is caused by that the MIME specs have not (yet?) been up= dated to > match RFC 5322. It depends on whether a software is compliant to RFC 822 or not. When a software complies with RFC 2822 or 5322, the new syntax is to be u= sed since MIME specs are said to extend these new RFCs instead of the obsolet= ed RFC 822. Is RFC 5322 to be read in another way when it speaks about RFC 2045? --=20 Julien =C9LIE =AB -- Essayons d'interroger ce garde habilement sans =E9veiller ses soup= =E7ons... -- Hep ! O=F9 est enferm=E9 Assurancetourix ? =BB (Ast=E9rix)=20