Re: [art] Revising BCP56: On the use of HTTP as a Substrate

Ted Hardie <ted.ietf@gmail.com> Wed, 19 July 2017 04:54 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93625124D85 for <art@ietfa.amsl.com>; Tue, 18 Jul 2017 21:54:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 CfZxXF1KRFJJ for <art@ietfa.amsl.com>; Tue, 18 Jul 2017 21:54:14 -0700 (PDT)
Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBDBD1200C5 for <art@ietf.org>; Tue, 18 Jul 2017 21:54:13 -0700 (PDT)
Received: by mail-qt0-x230.google.com with SMTP id 21so32292758qtx.3 for <art@ietf.org>; Tue, 18 Jul 2017 21:54:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dJjM0tPbq+IMPghUCbt95mXhQa4mZFwX0t8mNr80TNk=; b=C8LVEypk3TTzZYA+N2dhe6bjvVu10l/zNf4e00rTOBxf+EYrMHn8v9hkckMAbLtkD6 F8PdweFTlMUkBvpKfY9ewce8jvmlZr1pmlTs95gG3+jidzkYjUtnJtQcK4Thsl7bcIbL kV1X5JbF/NazfXAlrNq8QguhtEW6yMpqm9+YFnkQZTF6p5Rhjr5dx3VO9Iag7KxMHdN+ +j62n47Kdj2ncFhOKeCRDeDPK9d3Twfu6FICP5Qd/v6LNPfVRrSxvpGHJqmtf9C1xawc QC4KWu0t42pk5CPcTnp6Ydod45STuuo7cUvJrQINmLP6fiUE846RGveXLv7H+ne3xtbS FEMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dJjM0tPbq+IMPghUCbt95mXhQa4mZFwX0t8mNr80TNk=; b=OdSZtXHJVQ1hNGtHee9soO8d66qKCkuyZnw5S6Fh3DuDg9ux2EjvO0bATzpswIiyJ4 7hn4PO3pYmv4PbRVF7nVWOVFIJjOasSvWQ6OOkebNUocRsark3XNaPhAKDT2byw6D6Xa fPS8au8HVI4LQbq+LlVABICJ2cNJ2l0JjyMLY1hJr4MF+tA+cO+Hkd+qEeaFqT+4iNcz GrqnuHy6o8PcpxxTncF8lLesXJuyWgDogyXTpexuNWRK/lSyk/XG1SG/KOmZUiRH3/g1 JZaKlRGIyzJFgUdAMqQqRLY8o2Wj+OmqiiwY/CCuTbBQxbsdsHcBpWs+sq/EmYlCRCN2 OnpQ==
X-Gm-Message-State: AIVw1117zuY4tEF1MgQIPq7fSDKHGk2bCySxqsyP8DPaQF3/jOgCdO6m RyJERzrE11dkiDe+stbpJvm2p7t3zw==
X-Received: by 10.237.37.140 with SMTP id x12mr1207158qtc.133.1500440052906; Tue, 18 Jul 2017 21:54:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.4.21 with HTTP; Tue, 18 Jul 2017 21:53:42 -0700 (PDT)
In-Reply-To: <8557ED98-EC4F-4D16-9793-C87915B2AFAA@mnot.net>
References: <83273F06-63D3-41C1-BC3C-9ECE401C2279@mnot.net> <ebabe106-d914-f21b-30c2-f91f583f4de5@nostrum.com> <DE1772EA-E54A-4FC5-AF5B-6958477B0F44@mnot.net> <MWHPR21MB0125968A70D48B275C8EC08CA3A30@MWHPR21MB0125.namprd21.prod.outlook.com> <57B020F0-3FB8-423D-BDB6-4AF98BE9C4BA@mnot.net> <MWHPR21MB0125A6F31A0F572A381C174AA3A30@MWHPR21MB0125.namprd21.prod.outlook.com> <8557ED98-EC4F-4D16-9793-C87915B2AFAA@mnot.net>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Wed, 19 Jul 2017 06:53:42 +0200
Message-ID: <CA+9kkMB-bp7g_iBACsxtHe=ARV0f5P2uLM3yWy_UABZvPsX+gw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Dave Thaler <dthaler@microsoft.com>, Alexey Melnikov <alexey.melnikov@isode.com>, Adam Roach <adam@nostrum.com>, Patrick McManus <mcmanus@ducksong.com>, "art@ietf.org" <art@ietf.org>
Content-Type: multipart/alternative; boundary="001a114211e25c3fab0554a46c71"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/vnU-qJ_KHaHETw7hcy1QBvgjI_k>
Subject: Re: [art] Revising BCP56: On the use of HTTP as a Substrate
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Jul 2017 04:54:16 -0000

I generally like this, but have one suggested adjustment

On Tue, Jul 18, 2017 at 12:48 PM, Mark Nottingham <mnot@mnot.net> w


> For these reasons, it is preferable to use the message payload to indicate
> the application in use, rather than the URL scheme.
>
> See {{?RFC7595}} for more information about minting new URL schemes.
>
>
I think you cover what the issues are with using URI schemes, but the
preference to use message payload appears pretty suddenly.  There are
trade-offs there too and some of the usual methods (dispatching mime type)
have pretty big gotchas.  I'd suggest you either elide this text or expand
it.

regards,

Ted


>
> ~~~
>
> Thoughts?
>
>
> > On 16 Jul 2017, at 10:18 am, Dave Thaler <dthaler@microsoft.com> wrote:
> >
> > So if you have a resource that is served over multiple other protocols
> (ftp, coap, whatever) but NOT http,
> > W3C would tell people to use the HTTP scheme anyway?
> >
> > http://www.w3.org/2001/tag/doc/SchemeProtocols.html#useNaturalProtocol
> says:
> > 4.2.1 G4. Serve using the protocol associated with the URI scheme
> >
> > -----Original Message-----
> > From: Mark Nottingham [mailto:mnot@mnot.net]
> > Sent: Sunday, July 16, 2017 10:16 AM
> > To: Dave Thaler <dthaler@microsoft.com>
> > Cc: Adam Roach <adam@nostrum.com>; Alexey Melnikov <
> alexey.melnikov@isode.com>; Patrick McManus <mcmanus@ducksong.com>;
> art@ietf.org
> > Subject: Re: [art] Revising BCP56: On the use of HTTP as a Substrate
> >
> >
> >> On 16 Jul 2017, at 10:11 am, Dave Thaler <dthaler@microsoft.com> wrote:
> >>
> >> I think 4.3.2 is problematic as currently worded.  For example,
> >>> Using other schemes to denote an application using HTTP makes it more
> >>> difficult to use with existing implementations (e.g., Web browsers),
> >>> and is likely to fail to meet the requirements of [RFC7595].
> >>
> >> The "URI Schemes and Web Protocols" document Henry pointed to argues
> >> for separate URI schemes for different protocols (ftp, http, coap,
> etc.), e.g. "G4. Serve using the protocol associated with the URI scheme".
> >>
> >> I think the "HTTP as a Substrate" document is worded as if the only
> protocol an app supports is HTTP,
> >> which is not the case.   If an application defines higher layer
> semantics where HTTP and something else
> >> can both be used as transports (the topic of
> >> draft-thaler-appsawg-multi-transport-uris discussion), than 4.3.2
> >> would imply that one must use multiple URIs for the same transport,
> rather than having one higher-layer URI for the application-layer protocol
> or semantics.
> >>
> >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3
> >> .org%2FTR%2Fwebarch%2F%23uri-aliases&data=02%7C01%7Cdthaler%
> 40microsoft.com%7Cf5e1aabcbc1b4a7a6fb708d4cc22eea2%
> 7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357897782919498&sdata=
> klbb40TomYZ216cxDZFHGBh1EiXMaVc2pmT4%2FjsXKv4%3D&reserved=0 discusses
> multiple URIs for the same resource and has recommendations like "A URI
> owner SHOULD NOT associate arbitrarily different URIs with the same
> resource."
> >>
> >> Thus that would argue that apps should have higher-layer URIs for
> >> concepts that are not specific to HTTP, since there may be different
> >> URIs that differ by existing protocol (and URI scheme).  As such,
> >> 4.3.2 seems problematic since it seems to be saying that that's bad and
> apps should use different URIs with the same resource.
> >
> > W3C doesn't share the IETF's aversion to using HTTP to identify
> higher-level concepts. The "Web" way that has emerged is to use HTTP to
> discover more about the other protocols as necessary (as we see with H2 and
> now QUIC negotiation).
> >
> >
> >
> > --
> > Mark Nottingham   https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.mnot.net%2F&data=02%7C01%7Cdthaler%40microsoft.com%
> 7Cf5e1aabcbc1b4a7a6fb708d4cc22eea2%7C72f988bf86f141af91ab2d7cd011
> db47%7C1%7C0%7C636357897782929506&sdata=hLIqYngKJ4NFkbB3zJl6Pf6jeL0dgW
> %2FkQiFIiWxFtT8%3D&reserved=0
> >
> >
> > _______________________________________________
> > art mailing list
> > art@ietf.org
> > https://www.ietf.org/mailman/listinfo/art
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>
> _______________________________________________
> art mailing list
> art@ietf.org
> https://www.ietf.org/mailman/listinfo/art
>