12 Jun 2004 08:11
Re: content-type: text/plain; magic=on; magic=off
Hector Santos <winserver.support <at> winserver.com>
2004-06-12 06:11:40 GMT
2004-06-12 06:11:40 GMT
----- Original Message ----- From: "Arnt Gulbrandsen" <arnt <at> gulbrandsen.priv.no> To: <ietf-822 <at> imc.org> Sent: Friday, May 28, 2004 6:45 AM Subject: content-type: text/plain; magic=on; magic=off > > Hi, > > if a message has the content-type field mentioned in the subject, which > seems valid as far as I can tell, then which setting wins? Should a > compliant mail reader enable or disable magic while reading such a > message? In my view, it would depend on the parsing logic by the mail reader. In general programming, you would normally see two types of methods: 1) Keyword searching, 2) Parsing of the each part. In keyword searching, a string lookup for "magic=" might be done. In this case, the first magic is found. So for #1, the result would be magic=on. I wouldn't expect it to look for "magic" again. For #2, it reads each part. As it parses, it sees magic and sets a boolean, then it continues and sees magic again. Well, what happens next probably depends on many specifics, but in general,(Continue reading)
RSS Feed