[Webtransport] A comment on draft-kinnear-httpbis-http2-transport-02

Bernard Aboba <bernard.aboba@gmail.com> Tue, 19 November 2019 02:41 UTC

Return-Path: <bernard.aboba@gmail.com>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FD56120236 for <webtransport@ietfa.amsl.com>; Mon, 18 Nov 2019 18:41:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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_HELO_NONE=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=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 KAlYsDjvus7A for <webtransport@ietfa.amsl.com>; Mon, 18 Nov 2019 18:41:43 -0800 (PST)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 51FBF1200FB for <webtransport@ietf.org>; Mon, 18 Nov 2019 18:41:43 -0800 (PST)
Received: by mail-lf1-x131.google.com with SMTP id o65so15608840lff.13 for <webtransport@ietf.org>; Mon, 18 Nov 2019 18:41:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7S27cqgq4StAt8iSzo1cLxhVCUr6b/WPHiXzoeeO8Tk=; b=qHxpeWMNmmbT52G32J/GifgkPksYKM55zo6v3Famu/G9br9EZET+hCku6ub33rUZ9a d40XC+eq8Lc8zDm+DsmtrGVVM9rXAdi2Hsz8ozJZLTMfRMT9ULFdzAVtfMMCdh6cLt8e 0XfChQyuQOfbdUwg6cwl5aNZ7ofrRplJ+vkppyZjYx5AIB/IhX8khV37YFRHuOM8Xdvm UM/YlMehsXFXqs5uURZE+u55QVF9i5JwTDO2mowiwcjHwtXUbhYD1llytcOvKW091WqG 5rhmxP1iq9c1+33NwvqTdEgolbcumpVr4swsoUZdvhXzS7vhvqBa5ns9AmD27JbwQ8q/ WIpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7S27cqgq4StAt8iSzo1cLxhVCUr6b/WPHiXzoeeO8Tk=; b=pkYql3+11A4p7I5va6oq/dahFPNGCG9tHcT+rT6E7fdtQNv54SUhSlSwPyJPU4m0+N 9wqSN3YlIcluP3jB6FvPG9dj+8kQFbawUBBmOV1+GMf1J7VWxBa9gvyzssl4FUfZF5Ey w2wQth6kAUTK6grvRDE9Ka0fXrV4NpTqzbnsVWdRmcWRXbSJpLgS8k3gWb05J0PmCWXx gFlWBBcdSdtUJjmhFtHpFT5Om2M80H621a16zlBYajlczP2UuXjcIPmShqkFoDgoXNLy c97a8xLuVxVPrAgMaMLIPHNbmgxIulb/1elvT3dmzMl7Pwjp5t0FpEMbFqbJ7kzFUfU/ uNHA==
X-Gm-Message-State: APjAAAXRkGdXNB/CSqLfZwPRBmO3uPUg4bgTFjEMYaZirx79CaRroPxL Uu9sRf0sqKSIbPLq3QXQ8beRe9IR1vokP+lLQf2h8+gD
X-Google-Smtp-Source: APXvYqxhMTqM1nFuLz2nWZOtkOjo5W3HfjE6Vi99Q4KytB6ddVi9BPFtKdN0jKwEpFA40c40F7e1y4cZJ9KtBLq/jH0=
X-Received: by 2002:ac2:5210:: with SMTP id a16mr1747367lfl.156.1574131300607; Mon, 18 Nov 2019 18:41:40 -0800 (PST)
MIME-Version: 1.0
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Tue, 19 Nov 2019 10:41:29 +0800
Message-ID: <CAOW+2dssuXQGnRTcq77Az_vQGDv0tm5cdd+TWPf0p_Q3mD9Dag@mail.gmail.com>
To: webtransport@ietf.org
Content-Type: multipart/alternative; boundary="00000000000000aafe0597aa019a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/jV4Xgru1k1K4fHBe23KJ5d3JrNY>
Subject: [Webtransport] A comment on draft-kinnear-httpbis-http2-transport-02
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Nov 2019 02:41:49 -0000

This is a straightforward draft, so my questions don't relate to the
content such much as the context:

The draft extends the CONNECT handshake to allow "bytestream" to be
provided for the :protocol pseudo-header field, instead of "websocket".

Is there corresponding JS API work contemplated (or ongoing) to support
this?

The "WebSocketStream API design"
<https://docs.google.com/document/d/1La1ehXw76HP6n1uUeks-WJGFgAnpX2tCjKts7QFJ57Y/>
indicates "a 1:1 correspondence between chunks and WebSocket messages" so
that it doesn't appear to take "bytestream" into account.