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

Mark Nottingham <mnot@mnot.net> Sun, 16 July 2017 08:21 UTC

Return-Path: <mnot@mnot.net>
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 7B5CC127180 for <art@ietfa.amsl.com>; Sun, 16 Jul 2017 01:21:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.721
X-Spam-Level:
X-Spam-Status: No, score=-2.721 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=aAJb2g4a; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=cQ2BQgez
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 DQAd3nPTkvos for <art@ietfa.amsl.com>; Sun, 16 Jul 2017 01:21:02 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47F931317C3 for <art@ietf.org>; Sun, 16 Jul 2017 01:21:02 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ADBC820892; Sun, 16 Jul 2017 04:21:01 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sun, 16 Jul 2017 04:21:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/Jq4zxZWhHany3+4Dj CE5wqpPn7RnDvva8CL+MNY27U=; b=aAJb2g4aLXls+5b3gP/uxT2vWZHOBl8vh3 hLYPB2QFb7V7k/OOoJK+olei4riX/Wwiq7ROw9hT80ECpjNRiN/jU/E82sE/q09a BOTdRFXdVq81f60i8f6kJllVI3pp/jfRvltWG4XclWqkoBS8DTeP1C3uKDH908F9 0czWG3udUJiNpCj/7dD5uISuvwKEDo1hJhlXHs9iRQs1QevM188JGgjfS5QOwEG0 9Kl3l/rzR7t6ibE+n4x51CFZJatEYG3SDxpnhNK3MDwjdhj9XCKmgux77gbjeY// fFjCutFbehDDf1Qx3daTwcy23XRkvJaDVaBLEEcxB218XuS7jVwA==
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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/Jq4zxZWhHany3+4DjCE5wqpPn7RnDvva8CL+MNY27U=; b=cQ2BQgez gx7IQr2izDDKex3DtnbtmP0FJ+RiHqKmbMktc7W3tfmCWKZdWChIUpVqgM4ozdzb 9qxE4XEWarhMpIPs4Z+8WVs3VaHC17Lz4kTJsv1A/LCu1HgGuENZYa+3KRdWxzO/ 4KhvifQbBmml8DztOtcPwY6C4xj+y7752+XC43HlPrsbOlyrZe1LlfZlexUr2Dp4 9Kf/ixucOb6miJXRW3FCbrOf+8aqUa5XSTqMgK/ORPpqyrmGCxZeRMFb1AW0ZTU8 k6tBuJW63NSNePd96NeghxXaswZ3oAkG0M5XwQwEW9ujGhYgOx+/2yV1m5ZJJWG/ joZgqObaxGvSCA==
X-ME-Sender: <xms:7SFrWW8bjuxJNhHOsAEnX9b-ue0yvzE4IsH6EU0UHiAdGIaM7TnVsg>
X-Sasl-enc: IupDLBMEyrU6RtMPJLxGKIllLAyGxNTxuDNnPBAM67n/ 1500193261
Received: from dhcp-813f.meeting.ietf.org (dhcp-813f.meeting.ietf.org [31.133.129.63]) by mail.messagingengine.com (Postfix) with ESMTPA id E771F24253; Sun, 16 Jul 2017 04:21:00 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <MWHPR21MB0125A6F31A0F572A381C174AA3A30@MWHPR21MB0125.namprd21.prod.outlook.com>
Date: Sun, 16 Jul 2017 10:20:59 +0200
Cc: Adam Roach <adam@nostrum.com>, Alexey Melnikov <alexey.melnikov@isode.com>, Patrick McManus <mcmanus@ducksong.com>, "art@ietf.org" <art@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1A730736-4F70-4474-9E93-51900D7AF35E@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>
To: Dave Thaler <dthaler@microsoft.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/CzwFLDtlrmGP7gNpiXueyt5NXAY>
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: Sun, 16 Jul 2017 08:21:04 -0000

I think we learned that that kind of wallpapering over of application protocol semantics doesn't work well when WS-* failed. People still keep on trying to do it, though.


> 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%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357897782929506&sdata=hLIqYngKJ4NFkbB3zJl6Pf6jeL0dgW%2FkQiFIiWxFtT8%3D&reserved=0

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