Re: Review of draft-ietf-httpbis-bcp56bis-09

Mark Nottingham <mnot@mnot.net> Thu, 28 November 2019 05:22 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D4CD1208BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Nov 2019 21:22:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=4DuFq1Dn; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ssKjvKlL
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 uwBnWLWG0RBG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Nov 2019 21:22:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F6D112098D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Nov 2019 21:22:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iaCDV-0002Ns-Q0 for ietf-http-wg-dist@listhub.w3.org; Thu, 28 Nov 2019 05:19:49 +0000
Resent-Date: Thu, 28 Nov 2019 05:19:49 +0000
Resent-Message-Id: <E1iaCDV-0002Ns-Q0@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1iaCDS-0002N6-Pw for ietf-http-wg@listhub.w3.org; Thu, 28 Nov 2019 05:19:46 +0000
Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1iaCDN-0000Im-6e for ietf-http-wg@w3.org; Thu, 28 Nov 2019 05:19:46 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5F638226FD; Thu, 28 Nov 2019 00:19:38 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 28 Nov 2019 00:19:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=r gF3OboJl+EQ9gBdGpmgHdTqGBwxxHwjheS2wlSGm00=; b=4DuFq1Dn1XAYYbgMY qSRzNy0jN1huz7Vl6iIp7pLQQgxYnFXmIxROeCC6UmEZDCKpoYydNwq86JekFCov dSvtapibZGdDrUTvKktcP86tHLoSkxqkzvZZSJANSd7NNalakAFIP3O+tZb0baLE 0klU3xvPdqPtmusdVduXpgzKvW5KxDi7yD97oU1NasnAH290qY7DujrkwI3xewDx J2mi2UUz4Z1exoT3IpZJCbsLaN9WB/rQdqt5/QgcpFjxl6jCXHM7b0AtvCz5UFP7 jGPxmO/wU2TVALNculRT9cg/3cbcYVaiRfjxAVCn0GgI3SlQ+grIW3a81NG9u/XK k5RsA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=rgF3OboJl+EQ9gBdGpmgHdTqGBwxxHwjheS2wlSGm 00=; b=ssKjvKlL+Mt3vmjTbH+UEJ+5zn8OMKFFFNoGaI0UQxWeSw8Cs3uGMTDM9 F8+AGt8N4ergA0+unbsmRtOJ/BDU3T2amsZIrbUp7hd6ikTFP2ryoOSNHkG5JB04 vF1ScM6bMPXDIOeKRnRDDqBDiLD5wdMUqTzhDQPyZ5RcvrXC2KWwdDytuAzcMbD3 DCkNgBkvcAyIEeQEmDwZ1hD4oIzoYWtVqxImRruWR8TA2FP9wFPQ4UW2Lx5en0aO BvHDPVc24TZ01i0r6B7+7ThsELyN0V3rdeeEFL5LG3QfAmDhp5m+GsJgdLqhjIkD I723LvuMI9aF7t5StuoTg++47kNtA==
X-ME-Sender: <xms:6VjfXYeZVeSGmdRgpa8zz8gyXZNX1pV8jtf2-jABBSMhLWMVQTUDLw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeiiedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjfffgkfhfvffosehtqh hmtdhhtddvnecuhfhrohhmpeforghrkhcupfhothhtihhnghhhrghmuceomhhnohhtsehm nhhothdrnhgvtheqnecuffhomhgrihhnpehhthhtphdrihhmpdhgihhthhhusgdrtghomh dpmhhnohhtrdhnvghtpdgvgigrmhhplhgvrdgtohhmnecukfhppeduudelrddujedrudeh kedrvdehudenucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth enucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:6VjfXfR216ei3oe2ioS_J6PYyKpCFebu3JmJ3QYlfwWgaMUT4dYTNw> <xmx:6VjfXWgjszelef5lkw0qBPLbG4zLDDmvjHBhZRk6NkjQ97rtoLoXxQ> <xmx:6VjfXbokJPJYqVlVdGrMSkTlrwJHp3NrwIC1y8G0PlQaVtk2PRYcUQ> <xmx:6ljfXc-vVxlGmYIJhyI56tKN3jFm4PStC5lhm-JugHJQ6_RYQsDGAA>
Received: from attitudadjuster.mnot.net (unknown [119.17.158.251]) by mail.messagingengine.com (Postfix) with ESMTPA id D175C8005C; Thu, 28 Nov 2019 00:19:35 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <C75AF744-44EA-4AAF-B074-50FF842D6E95@mnot.net>
Date: Thu, 28 Nov 2019 16:19:25 +1100
Cc: ietf-http-wg@w3.org, draft-ietf-httpbis-bcp56bis.all@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <C62DC24D-8E57-4898-975D-9A307FE266E2@mnot.net>
References: <371380E9-7204-41EC-8F32-653E9B5272D8@iii.ca> <C75AF744-44EA-4AAF-B074-50FF842D6E95@mnot.net>
To: Cullen Jennings <fluffy@iii.ca>
X-Mailer: Apple Mail (2.3601.0.10)
Received-SPF: pass client-ip=66.111.4.25; envelope-from=mnot@mnot.net; helo=out1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1iaCDN-0000Im-6e d6bcc0a97586a9410560b7eff6f6fa41
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review of draft-ietf-httpbis-bcp56bis-09
Archived-At: <https://www.w3.org/mid/C62DC24D-8E57-4898-975D-9A307FE266E2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37196
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Fluffy and I had a chat in Singapore and clarified the underlying issues here; I've just pushed:
  https://github.com/httpwg/http-extensions/commit/c804422494
to address his concerns.

Cheers,


> On 21 Nov 2019, at 11:44 am, Mark Nottingham <mnot@mnot.net> wrote:
> 
> Hi Cullen,
> 
>> On 20 Nov 2019, at 5:39 pm, Cullen Jennings <fluffy@iii.ca> wrote:
>> 
>> Lets say I have registered the ./well-known/fluffy space and I want to define a protocol for IOT devices to get a random number that changes each day by doing a GET of https://example.com/.well-known/fluffy/v1/rand (and the spec for this has all the appropriate info about catch control etc ) 
>> 
>> It seems like the last paragraph of 4.4.1 says this is allowed.
> 
> It is.
> 
> 
>> I think this example is illustrative of the main things people have been complain with about the BCP 56 (the current version, not the bis draft here ) 
> 
> Honestly, I don't know that people have thought about or referred to the original BCP56 for several years, but OK. (Are you thinking about 7320, perhaps?)
> 
> 
>> Let us start by if we agree the above is allowed or not. If I am wrong that this is not allowed, then ignore the rest of this email and we can talk about why it is not allowed. 
>> 
>> Section 4.4.1 of the drafts say 
>> 
>>  Applications MUST NOT define a fixed prefix for its URL paths; for
>>  reasons explained in [RFC7320], this is bad practice.
>> 
>> This seems wrong and needs to call out the exception for the .well-known space 
> 
> It is excepted in the next statement, starting with "Instead, a specification for such an application..."
> 
> If you're saying that the link between these sentences isn't strong / obvious enough, I'm happy to take that as editorial feedback.
> 
> 
>> Section 3.2 seems to forbid the .well-known space at all so I think this section needs to specifically mention and carve out the .well-known space. 
> 
> 3.2 doesn't forbid anything; it's explaining a pattern for use that gets utility out of HTTP. 
> 
> (I'm starting to wonder which revision of the draft you looked at; some of this changed in -09)
> 
> 
>> Section 4.4, last paragraph - This seems not true for example above so this seems wrong 
> 
> That paragraph in -09 is:
> 
>> Therefore, the specification writer needs some mechanism to allow clients to discovery an application's URLs.  Additionally, they need to specify what URL scheme(s) the application should be used with, and whether to use a dedicated port, or reuse HTTP's port(s).
> 
> Can you explain why this isn't true for your example?
> 
> 
>> Section 4.4.1 says 
>> 
>>  The most straightforward mechanism for URL discovery is to configure
>>  the client with (or otherwise convey to it) a full URL.  This might
>>  be done in a configuration document, in DNS or mDNS, or through
>>  another discovery mechanism.
>> 
>> What's the advice on how to do the full URL in DNS ?
> 
> I don't know that the HTTP WG should give advice about how to do things in DNS. If there's a consensus way to do this, we can refer to it -- but the intent here was to have a hanging reference for others (including application authors, if need be) fill in.
> 
> Cheers,
> 
> 
> --
> Mark Nottingham   https://www.mnot.net/
> 

--
Mark Nottingham   https://www.mnot.net/