Re: [Jmap] Question: Mandate core capability on each API call?

Neil Jenkins <neilj@fastmailteam.com> Tue, 01 December 2020 04:18 UTC

Return-Path: <neilj@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4ACC13A02C1 for <jmap@ietfa.amsl.com>; Mon, 30 Nov 2020 20:18:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level:
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=TfMXlsR5; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=aYEB5dza
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lMZCcxNt0kNg for <jmap@ietfa.amsl.com>; Mon, 30 Nov 2020 20:18:44 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 859F13A0147 for <jmap@ietf.org>; Mon, 30 Nov 2020 20:18:44 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AC4395C0166 for <jmap@ietf.org>; Mon, 30 Nov 2020 23:18:43 -0500 (EST)
Received: from imap7 ([10.202.2.57]) by compute3.internal (MEProxy); Mon, 30 Nov 2020 23:18:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=mVYijR5 AJ+JotGXa5rR08TRNABEoD5tWfHEZj9S7IQA=; b=TfMXlsR5vJLy3xtzmLrtQWw BA5cvA2F3pNuBv6TUvbVYC4Q29jqtzYJCHbKrvrDv2gVu+WRmfEfDtAPXj3U+LnT Z4vw66cH8apv9oPfjeSc64h2VYg7QQoFV0FSnuSFw1c7xAncfsHiXoQORahCLrjR i+TDDBfG86XzqVIkLuNUw7FIhsEUQrp3DQ0dhaIRV2tSYcHCVe9YIfGrS9B++T5Q x22V4fSWDPd1mwl6801qs6J6PbVKi/kK/IKv8XABfKUSXgGgVM53MhgPz0ZvGueb 3DcBM7rMv54jU2G7awvffqfukyy9IxAP4Ad9cM/5R5YH7QdvDC0Pyj0KBw0/H0w= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=mVYijR 5AJ+JotGXa5rR08TRNABEoD5tWfHEZj9S7IQA=; b=aYEB5dzanc9FvezKhDqnkY gJTiRmFfmZgTnbaEEacp9RaoOAZpKbkkqrlGCr4oSdqij+Fj4U5CHW99/pxAfWHw T9vtZ8AP6yrFn7JOk0F62xN2MtD1t0xzagIsXbtGB9v43bLBuDRxGoBNGu08rmal 8CgjizjcOp/Wv1ATxnR+JNjFXw2Pa615rLtbqSvjhjGoZ8xTwAwP2BXE+jr/Wnx9 htyssaWnmK/vvzwDqBK7DWhD52xNNw2Hlg1E8/Hts2l9GleJj9urTeIJA2a0Mg4A SHBUnFQhSuKTrAf/oNLErNqfjs1VRuZLVhNp/SnpGT77lhVIFssMUtm9IqZoBHtw ==
X-ME-Sender: <xms:I8TFX1S958CbwrzQ5e09lRFF-iZ49pTc_uPdvZ_PvYiP0_2fcw5YAw> <xme:I8TFX-wwKwBDpkSvmqR2lLZ2Vu7kbThgJwXxcDdPTaQ9YT2W-IX7bhRreHi8NhWjA O_er7dUdZMjXw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeiuddgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfpvghi lhculfgvnhhkihhnshdfuceonhgvihhljhesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucggtffrrghtthgvrhhnpeevvdetvdduleekhfeghfetfeettdelhfehfeevffevleek uddtudffieevjeevhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:I8TFX600SJnT8MRg6cGsxNNsd0VGflyGxcyD1AyZIEPBjBoSDDNStA> <xmx:I8TFX9BHcf3qVNrGgtoeImZMxi1i7_D9cQNUSkNEVhi7sQfLYQrpHg> <xmx:I8TFX-g3xH_2SLbj6drAJk6MVPlZz_wDoLd-_-TKPKh_fezObHWCqQ> <xmx:I8TFX5v-6uHgZcJxwL1LZwggVosI_78kgCm8QNgRt5cMh9nP-0ADZA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1D4CB180093; Mon, 30 Nov 2020 23:18:43 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3
Mime-Version: 1.0
Message-Id: <8df9abc8-4c5d-47da-9966-b9646561e286@dogfood.fastmail.com>
In-Reply-To: <a769713e-62ef-0eef-b61d-7fa64a8371ce@linagora.com>
References: <a769713e-62ef-0eef-b61d-7fa64a8371ce@linagora.com>
Date: Tue, 01 Dec 2020 15:18:42 +1100
From: Neil Jenkins <neilj@fastmailteam.com>
To: IETF JMAP Mailing List <jmap@ietf.org>
Content-Type: multipart/alternative; boundary="0145808c111e44cead3ee6efd57af1c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/m36lg5N7uXHBv-XTmZFX2SjiYMM>
Subject: Re: [Jmap] Question: Mandate core capability on each API call?
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Dec 2020 04:18:46 -0000

Hi Benoit,

Good question! I thought we had specified this, but I can't see it in the final draft. I don't see any particular downside to making it optional, but perhaps someone else has an argument as to why it should be mandatory? Whatever we decide, it is probably worth an erratum for the benefit of future implementors.

Neil.