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

Adam Roach <adam@nostrum.com> Sat, 15 July 2017 14:55 UTC

Return-Path: <adam@nostrum.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 72E2D13169C for <art@ietfa.amsl.com>; Sat, 15 Jul 2017 07:55:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.879
X-Spam-Level:
X-Spam-Status: No, score=-1.879 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 9zkHbhx6SwH3 for <art@ietfa.amsl.com>; Sat, 15 Jul 2017 07:55:27 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 D4D10128A32 for <art@ietf.org>; Sat, 15 Jul 2017 07:55:27 -0700 (PDT)
Received: from dhcp-8909.meeting.ietf.org (dhcp-8909.meeting.ietf.org [31.133.137.9]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id v6FEtLra029447 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 15 Jul 2017 09:55:22 -0500 (CDT) (envelope-from adam@nostrum.com)
To: Ted Hardie <ted.ietf@gmail.com>, Mark Nottingham <mnot@mnot.net>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, art@ietf.org, Patrick McManus <mcmanus@ducksong.com>
References: <83273F06-63D3-41C1-BC3C-9ECE401C2279@mnot.net> <ebabe106-d914-f21b-30c2-f91f583f4de5@nostrum.com> <DE1772EA-E54A-4FC5-AF5B-6958477B0F44@mnot.net> <CA+9kkMCaSqH=RwQgKJaLdRWA8mYnGL2Lw=cb20Szx4O__mg_Hw@mail.gmail.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <989a76b8-7006-5c9b-66cb-0a03f8e9e517@nostrum.com>
Date: Sat, 15 Jul 2017 16:55:20 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <CA+9kkMCaSqH=RwQgKJaLdRWA8mYnGL2Lw=cb20Szx4O__mg_Hw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------A6C44C032D67EC25E0D37F3B"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/svNNq6ASeRhr4m-dXrsW42Y3w5c>
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: Sat, 15 Jul 2017 14:55:29 -0000

On 7/15/17 16:25, Ted Hardie wrote:
> On Sat, Jul 15, 2017 at 4:09 PM, Mark Nottingham <mnot@mnot.net 
> <mailto:mnot@mnot.net>> wrote:
>
>
>     > On 15 Jul 2017, at 11:20 am, Adam Roach <adam@nostrum.com
>     <mailto:adam@nostrum.com>> wrote:
>     >
>     > I found 4.3.2 particularly interesting, as there doesn't seem to
>     have been consensus in this space in the past. For example, the
>     ws(s) and ipp(s) schemes made a different decision. I presume your
>     assertion is that, were we defining these protocols today, they
>     would be using http(s) instead?
>
>     AFAICT IPP doesn't use the HTTP port, scheme nor HTTP's
>     registries, so as per section 2, it's not "using" HTTP.
>
>
> RFC 7472 describes the  HTTPS tranport binding and its relationship to 
> the ipps scheme (it's a successor to some previous work doing similar 
> things for HTTP).  It notes:
>
> The IPP Client converts the 'ipps' URI to an 'https' URI [RFC7230 <https://tools.ietf.org/html/rfc7230>]
>        (replacing 'ipps' with 'https' and inserting the port number from
>        the URI or port 631 if the URI doesn't include an explicit port
>        number);
> While the default isn't the existing HTTPS port, it's my understanding 
> that in some deployments the ipps scheme uses the HTTPS port and so 
> ends up with an HTTPS scheme message over the standard HTTPS port.

You don't have to rely on the ipps spec for this -- the original design 
of IPP has a similar transformation for ipp URLs; RFC2910 stipulates:

    Because the HTTP layer does not support the 'ipp' scheme, a client
    MUST map 'ipp' URLs to 'http' URLs, and then follows the HTTP
    [RFC2616][RFC2617] rules for constructing a Request-Line and HTTP
    headers.  The mapping is simple because the 'ipp' scheme implies all
    of the same protocol semantics as that of the 'http' scheme
    [RFC2616], except that it represents a print service and the implicit
    (default) port number that clients use to connect to a server is port
    631.

Mark -- if you think the guidance in your document wouldn't apply in 
these cases, you'll have to be clearer by what you mean when you say 
'The URL scheme "http" or "https" is used': I would have thought this 
qualifies.


/a