Re: AD review of draft-ietf-imapapnd-appendlimit-extension-06

Alexey Melnikov <[email protected]> Thu, 17 Dec 2015 17:56:35 +0000
Newsgroups gmane.ietf.imapext
Message-ID <[email protected]>
Hi Barry,

On 17/12/2015 17:32, Barry Leiba wrote:
>> The data type for APPENDLIMIT is NUMBER.
> I don't understand that statement: there are no "data types" in IMAP
> commands.  There's ABNF.
ABNF for status responses in RFC 3501 doesn't allow anything other than 
a "number". This inflexibility was fixed in RFC 4466.
>> Will it accommodate a NIL?
> It will if you change the ABNF like this:
>
> OLD
> appendlimit-respcode = "APPENDLIMIT" SP number
>
> NEW
> appendlimit-respcode = "APPENDLIMIT" SP (number / "NIL")
This change is in addition to what I suggested for STATUS.
> END
>
> ...and you'd add text explaining that if there is no limit for a
> particular mailbox, the STATUS APPENDLIMIT response for that mailbox
> is NIL.
+1
> There's no need to allow NIL in appendlimit-cap, because if there's no
> limit you just don't send that item at all.
Agreed.

_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext