[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MORG] WGLC on draft-ietf-morg-inthread-00



On Feb 15, 2009, at 12:22 PM, Arnt Gulbrandsen wrote:

Alexey Melnikov writes:
Creating new data types is bad, as it complicates protocol parsers.
If you remember, we had the same argument in Lemonade about URIs and at the end decided not to define a new data type.

I'm not creating one. Message-IDs exist and the point is to use them. That are three possibilities:

1. Send "<" id-left "@" id-right ">" on the wire. As I put into the current draft.

Dovecot typically parses input by reading and parsing the whole command. That won't work if the input doesn't have only valid IMAP atoms/strings/etc, so this would pretty much break my parser.

2. Send an IMAP atom on the wire and say "when dequoted, MUST be < id-left @ id-right >". (As I recall, some Lemonade document does something like that.)

3. Send an IMAP atom on the wire and skip the rules about what it contains.

By "IMAP atom" I guess you mean string or something?