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

Neil Jenkins <neilj@fastmailteam.com> Fri, 04 December 2020 05:19 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 554E53A0B26 for <jmap@ietfa.amsl.com>; Thu, 3 Dec 2020 21:19:38 -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=CEtkXj+f; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=eQBrGtiB
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 fZHvD2OyeQ3g for <jmap@ietfa.amsl.com>; Thu, 3 Dec 2020 21:19:37 -0800 (PST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 123EE3A0ACB for <jmap@ietf.org>; Thu, 3 Dec 2020 21:19:36 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 32FE65C01E9 for <jmap@ietf.org>; Fri, 4 Dec 2020 00:19:36 -0500 (EST)
Received: from imap7 ([10.202.2.57]) by compute3.internal (MEProxy); Fri, 04 Dec 2020 00:19:36 -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=AbQrXw9 6QjpB5ELPMYqF/hhs1sE1x+XHcwcrszmp5sw=; b=CEtkXj+fd7db0SOo8MNT4Hm ugIPU9rbsBSOF+aVio6g0Q9Abm3Upp+Fx6tx/BAzmIxahr1xxGb9L86/TBGtzOxp QFznjm7GN64MUAsanCr6upjDmJVuOr63Hs93nPzTITyluxuJSObmnyMXUErWUxk4 ddwELHnJY4kdrIbIxUjoY3+7NYYnI2Ouzctnt4riUtQ7VnB+Xcd53d+T2cyb0Qn/ JlGVWNCa9raYYDSLwbsyHyVSEQ25B4RMaYxVfBV5PxDVk7SGmaCjWLqOKGZGbrsI n0MUoJKaO3V3nrf0pI6sTQGRv6DvmzdXUH9wECEuxrax7JlxB836yehcbwZb7Pw= =
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=AbQrXw 96QjpB5ELPMYqF/hhs1sE1x+XHcwcrszmp5sw=; b=eQBrGtiB5+Mod9/LGEjyXH 6mwkZDpC/p589wFUrcPRzOSjnNaURxfiTYQ52KJ0W7J/kA57wBFfTJdRhEQczutw PaJlpT0fB+vqTsdQ9nuuz6+b8ebILhvl1pUmtdcbQCa6LecWlbGrcxqojJk7hNPw ww4YYY+DyFbINgR4U0LD0BlJjhlICY3RyvkrfEWcdK5dG+dgO0gKJBsSWOALII/E aQnTGE5Qfyz0AI6SpLxTRTaBlzY+Xhkszmi5THaYI4b8EGrwjCBQT6DiJD1wKY3o 1YtjYD9kx0WcTRe0h0nRa0daIdSZ20wWsP+KEkVA/DcOEmjlH2reksaSIkvB8wOQ ==
X-ME-Sender: <xms:58bJX7-8B5BoiCk1q7k9uL4npjze1FXApWfdeTkGs4hfcH2uWMdJdQ> <xme:58bJX3sT6TD--wm5xkHytKqZs8AdvimdDuP6AYmGpnw-UyVjwtJ4rzC1DJdkys6fc sQKk8JddfdAqg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeijedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdfpvghi lhculfgvnhhkihhnshdfuceonhgvihhljhesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucggtffrrghtthgvrhhnpeehuefhudejtdeiveekvdfhfffgleeflefhfeekhefhkeel kefhfeeufeevffejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:58bJX5AlgtH8CdvhFJQArlMSvJnqqyo6-_NtD2wWzZsMj8hKQn7V4A> <xmx:58bJX3fKzOeXaEJAYGnt602fkWE5_NWVF8DHrEke1nNT46KmLQ7i5w> <xmx:58bJXwPjEMSnyp4kXY1e3viK6SoHsMwI4B5cOUCmqLPZodpa-rqILA> <xmx:6MbJX2ZgJdTaPlkv-rKJY8pzpOhQSzg6ZeYSyolImHsEm5bXtCUq1Q>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9063D180093; Fri, 4 Dec 2020 00:19:35 -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: <722e4258-1b8a-4b43-9a1a-2b8b910484b9@beta.fastmail.com>
In-Reply-To: <17a0c929-66bc-71f8-54bd-cbf4faa8181e@linagora.com>
References: <a769713e-62ef-0eef-b61d-7fa64a8371ce@linagora.com> <8df9abc8-4c5d-47da-9966-b9646561e286@dogfood.fastmail.com> <17a0c929-66bc-71f8-54bd-cbf4faa8181e@linagora.com>
Date: Fri, 04 Dec 2020 16:19:35 +1100
From: "Neil Jenkins" <neilj@fastmailteam.com>
To: "IETF JMAP Mailing List" <jmap@ietf.org>
Content-Type: multipart/alternative; boundary=4c3934027cc44468a3ff39d588a55c09
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/HUGi9fxepPK9c_zyQk4-dgaVgTc>
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: Fri, 04 Dec 2020 05:19:38 -0000

On Tue, 1 Dec 2020, at 21:37, Raphaël Ouazana wrote:
> What about:

> The server MUST only follow the specifications that are opted into and behave as though it does not implement anything else when processing a request. 


Sure, this applies to anything other than the core spec. But if you are obeying this text, you are already implementing RFC8620 so it would be a bit of a circular argument to imply that this means you must include the core capability in the using array in order to support 8620!

Neil.