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

Victor Vasiliev <vasilvv@google.com> Tue, 19 November 2019 05:57 UTC

Return-Path: <vasilvv@google.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 E746D120801 for <webtransport@ietfa.amsl.com>; Mon, 18 Nov 2019 21:57:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 gDj-tSusQGmu for <webtransport@ietfa.amsl.com>; Mon, 18 Nov 2019 21:56:56 -0800 (PST)
Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 03B8D120046 for <webtransport@ietf.org>; Mon, 18 Nov 2019 21:56:56 -0800 (PST)
Received: by mail-lf1-x135.google.com with SMTP id f18so3597089lfj.6 for <webtransport@ietf.org>; Mon, 18 Nov 2019 21:56:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fMbvc3GpqJQZpq8480AFyk6rgA2JqY95MqQEG1/t4hQ=; b=JbyHbUTcPcvBohXG8Ky6AYf7/QyzX1G261PRuvJCcxEFLQhekjIUmDMmu2euRveqp4 6kwuqcM5jnnc/Spi683tw4xK9xDXmPOBG+x1p5vUcf8rnXXxjWYIvBRXsn7u61RO7Ip7 51jCemn+uvHF1JR8/BOdyppPn6GjKVeG1kUryOLT+FiyPZYi29yI94KE6jvUjQsD5XIV 7zbb6q2eS0mzCTpEmfIAQucyoaFXi78XaG0gv1WausOTyiEmnPJxDWbfyLOHrujGjlRR j+CwkYo6D+ipBlAPCAQ86zQ+1sKbNHVwme0XnOeZWVH5v5quCkiBWdUUC6C8r2ZA5ioe mMSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fMbvc3GpqJQZpq8480AFyk6rgA2JqY95MqQEG1/t4hQ=; b=RMw+wZCgx+sQA+MeDVBmFHogNr2X2ho5LzI6X7l/H7sdQZ/Fu0NZNPqtKrzh3VD9qb UQHSXMe5tZ3EmuFxHlUslJ0YnLSU9zVrJLVuB1VWUV31PO+QfCZmjhdEFZ2EO1VQMKUC P66Cv5JCTe/hAQYfoXGcxIE8hGbArZv+wvHvl58G09SmxPATDEKiBpxmVABS0ZzOqEiE L2+Qz4AXQIxbkedqEsEnTw9YbrHRzNNQfbupJoGb8QGtbFPtOhaTrFBhHN5cYWnKA7Aq oUsYTjEXDFrJ85Sw4NheKeVw2lKT9FbvKp5Sf3cFnmXq7GI8pnG5saFlTyVmY9CHTwGO 79qQ==
X-Gm-Message-State: APjAAAXzVBo6rKzLew/hjFOCg3wUacrHQcrGAO3KJu58bF0+gsggKGkO 3S5bm8VvfHUdE+IjIZBHw5LwtelEUuPpKtdBOn1vTA0EqTI=
X-Google-Smtp-Source: APXvYqxcnPila+/Q0TU+JdK2urCeufma9xE+0x3X6JGzGYoPhUdqZykRRZyhpUUmUgzAlAwlupqYNoAeVC7pfMuEqzc=
X-Received: by 2002:ac2:5144:: with SMTP id q4mr2323683lfd.36.1574143013702; Mon, 18 Nov 2019 21:56:53 -0800 (PST)
MIME-Version: 1.0
References: <CAOW+2dssuXQGnRTcq77Az_vQGDv0tm5cdd+TWPf0p_Q3mD9Dag@mail.gmail.com> <714de35c-15b0-9f01-ab36-ef62dfffe259@it.aoyama.ac.jp>
In-Reply-To: <714de35c-15b0-9f01-ab36-ef62dfffe259@it.aoyama.ac.jp>
From: Victor Vasiliev <vasilvv@google.com>
Date: Tue, 19 Nov 2019 13:56:41 +0800
Message-ID: <CAAZdMadWee99BsnNrAfYFfhwGCwCBka-7oFPeaY2yPAfWamNQw@mail.gmail.com>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Cc: Bernard Aboba <bernard.aboba@gmail.com>, "webtransport@ietf.org" <webtransport@ietf.org>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>
Content-Type: multipart/alternative; boundary="00000000000028ba5c0597acbb8f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/CmHUJqybbiMtkJtCFXhfuqxiKMI>
Subject: Re: [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 05:57:06 -0000

On Tue, Nov 19, 2019 at 12:54 PM Martin J. Dürst <duerst@it.aoyama.ac.jp>
wrote:

> The distinction between binary and text datagrams, and the limitation of
> text datagrams to UTF-8, considerably simplifies the creation of
> datagram-based protocols and increases interoperability.
>
> I wonder why this wasn't included in the Webtransport draft, and hope
> that it can be added.
>

Hello Martin,

WebTransport does not make any assumptions about the nature of the payload
it transmits, that is to say, all of the payload is assumed to be binary.
That is consistent with the general way the similar recent API has handled
this (e.g. streaming fetch), as well as the design of underlying
protocols.  TextEncoderStream/TextDecoderStream can be used to easily
transform one into the other.

I'm especially confused about this being related to the datagrams; almost
all datagram protocols I've seen are binary-based, since ~1200 bytes is
typically too small for text-based protocols.

  -- Victor.