Re: [Jmap] Benjamin Schwartz comments on draft-ietf-jmap-websocket-05

Ken Murchison <murch@fastmail.com> Sun, 08 March 2020 19:17 UTC

Return-Path: <murch@fastmail.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 81CB53A07E1 for <jmap@ietfa.amsl.com>; Sun, 8 Mar 2020 12:17:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=fastmail.com header.b=BsSCz9oL; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=LTDXLzZ6
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 5Lj1NJHllfcZ for <jmap@ietfa.amsl.com>; Sun, 8 Mar 2020 12:16:59 -0700 (PDT)
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 A259A3A07BC for <jmap@ietf.org>; Sun, 8 Mar 2020 12:16:59 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A0B6B21CC3; Sun, 8 Mar 2020 15:16:58 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 08 Mar 2020 15:16:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm2; bh=FbUQKMO8qYDHss8mukOiW05RnQf W2lZMYAVLSvay4cs=; b=BsSCz9oLz3xTk65w+yDpPwB0hVixAKqtnEjXdibWzR+ gW5ahbXOG/TPsarxWD3TjqNiQxSJqeF0Q1iJyaEIrlVYVF4LMPcFhPeD+S2+EG3n wG3opCn0yAnntS5gvKHMvDVkxksaktRLgvfs3PaZ0hn4A3sO3pNYhRs1IUrGvVbX f7DVa3I+BcEzIOjmrf/j+MV3Bh57uy33y7TQgYW8FAyzwdK0p943HfMslZigifIl hiNpAE76yczxB9IF4cjnGA4x2v3wjPdRQbErMMh2NG+wFP+M1FCsgky7yAfi0wMp DKy5+MQazv0SeTc1IUXwxd5crbD+anvV7Fgh5G/mNZg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=FbUQKM O8qYDHss8mukOiW05RnQfW2lZMYAVLSvay4cs=; b=LTDXLzZ6q9Ozrs5lhd6PfA 08lQY3BXvULyNm8luDjyiPURtysW2qbuFZat1L9GJiizdCOb6KwEPr+fx8unorm9 MsQUBWiMgO77AVIHtjvAZwl4/YHj9Hu0R3mT7ASEP1E7jFECo4zPV6aV6IXdCVvA ZzoyhJLibjPaXQPpWShWOcsR12dH4zwe+7HgDidOT4ASIK6XJutpTatlfgS8uirq WL5JLziwmZeoxP93XIfAQvRhSyNuiStM7r6jEIGoawQCHaipGZe6K1d4OvpdMM/l j3ibyPttMoKOdiB/RpzvTxj+cY9kT+jstyDbcFPcPWQkyEB97RNtvpDXWrcSUT/w ==
X-ME-Sender: <xms:qURlXl5bhEZDHnOXBDiK26HmcbSkozZ4BGqBR35kX7GlYdyu1ISqXQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduiedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtsegrtderredtfeejnecuhfhrohhmpefmvghn ucfouhhrtghhihhsohhnuceomhhurhgthhesfhgrshhtmhgrihhlrdgtohhmqeenucffoh hmrghinhepihgvthhfrdhorhhgnecukfhppeejgedrjeejrdekhedrvdehtdenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmuhhrtghhsehfrg hsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:qURlXtVosnijXTr2jAOVqrXa4oYMUNTOeG8hp4C6Ebih4Cy8KdmMEg> <xmx:qURlXj9_7FpZaccN6c5XTjMqngl_YuhbFbYBGBDEg2F6WzbVwI2DDA> <xmx:qURlXlrpCJ7drhu9gdZc0HUIOanyT5sCwgyQJ-NdG7kORnuqqju0gw> <xmx:qkRlXsW8q-aip7fQ8SMOV7zveua28rcBaOr55Sa4MlBHwu1E8JqOXQ>
Received: from localhost.localdomain (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D7E13280059; Sun, 8 Mar 2020 15:16:57 -0400 (EDT)
To: Alexey Melnikov <aamelnikov@fastmail.fm>, Benjamin Schwartz <bemasc@google.com>
Cc: jmap@ietf.org
References: <0f7388d8-b420-469f-8d5a-da5fb0bcf27a@www.fastmail.com>
From: Ken Murchison <murch@fastmail.com>
Organization: FastMail US LLC
Message-ID: <2cc03bd6-48e3-3953-f9ba-59fbc26054a7@fastmail.com>
Date: Sun, 08 Mar 2020 15:16:56 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <0f7388d8-b420-469f-8d5a-da5fb0bcf27a@www.fastmail.com>
Content-Type: multipart/alternative; boundary="------------25223F1EEBA4FDE59F893AAC"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/XxJtyum137ENj-CWGT5aFKGeY0Q>
Subject: Re: [Jmap] Benjamin Schwartz comments on draft-ietf-jmap-websocket-05
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: Sun, 08 Mar 2020 19:17:02 -0000

On 2/21/20 7:45 AM, Alexey Melnikov wrote:
> Hi,
>
> **********************************************************************
> * Note, that I am conducting an experiment when people aspiring to be*
> * Area Directors get exposed to AD work ("AD shadowing experiment"). *
> * As a part of this experiment they get to review documents on IESG  *
> * telechats according to IESG Discuss criteria document and their    *
> * comments get relayed pretty much verbatim to relevant editors/WGs. *
> * As an AD I retain responsibility in defending their position when  *
> * I agree with it.                                                   *
> * Recipients of these reviews are encouraged to reply to me directly *
> * about perceived successes or failures of this experiment.          *
> **********************************************************************
>
> I also have some comments on Benjamin's comments below marked with "[[Alexey]]:"
>
>
> The following comments were provided by Benjamin Schwartz <bemasc@google.com>:
>
> Benjamin would have balloted *YES* on this document. He wrote:
>
> ## Section 3
>
>
> Consider removing “webSocket” from the parameter names.  It is redundant within this context.


Done.



> ## Section 4
>
>
>     Binary data MUST NOT be uploaded or downloaded
>     through a WebSocket JMAP connection.
>
>
> Please provide a motivation for this restriction.
>
> [[Alexey: In standard JMAP these operations are performed on special HTTPS endpoints, so no JMAP objects are exchanged there. This document just does the same.]]


To Alexey's point, the very next sentence states "Binary data is handled 
per Section 6 of [RFC8620] 
<https://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc.cgi#RFC8620> via a 
separate HTTP connection or stream."


> ## Section 4.1
>
>
> I would suggest replacing this MUST with a simple reference to Section 8.2, which can contain its own normative language.
>
> [[Alexey: Ben, can you clarify why you suggest pointing to Section 8.2? Is this in another RFC?]]


Same question as Alexey.  To which Section 8.2 are you referring?


> ## Section 4.3.2
>
>
> Is “@type” now required on all Request/Response/Problem Details objects everywhere?  Does this update RFC 8620?


Alexey, I'll let you decide is this document updates RFC 8620.


-- 

Ken Murchison
Cyrus Development Team
Fastmail US LLC