WebTransport using HTTP/2
draft-kinnear-webtransport-http2-00

Document Type Active Internet-Draft (individual)
Last updated 2020-03-09
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
webtrans                                                     A. Frindell
Internet-Draft                                             Facebook Inc.
Intended status: Standards Track                              E. Kinnear
Expires: 10 September 2020                                      T. Pauly
                                                              Apple Inc.
                                                             V. Vasiliev
                                                                  Google
                                                                  G. Xie
                                                           Facebook Inc.
                                                            9 March 2020

                       WebTransport using HTTP/2
                  draft-kinnear-webtransport-http2-00

Abstract

   WebTransport is a protocol framework that enables clients constrained
   by the Web security model to communicate with a remote server using a
   secure multiplexed transport.  This document describes
   Http2Transport, a WebTransport protocol that is based on HTTP/2 and
   provides support for bidirectional streams multiplexed within the
   same HTTP/2 connection.

Note to Readers

   Discussion of this draft takes place on the WebTransport mailing list
   (webtransport@ietf.org), which is archived at
   <https://mailarchive.ietf.org/arch/search/?email_list=webtransport>.

   The repository tracking the issues for this draft can be found at
   <https://github.com/erickinnear/draft-http-transport/issues>.  The
   web API draft corresponding to this document can be found at
   <https://wicg.github.io/web-transport/>.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any

Frindell, et al.        Expires 10 September 2020               [Page 1]
Internet-Draft              WebTransportHTTP2                 March 2020

   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 10 September 2020.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions and Definitions . . . . . . . . . . . . . . . . .   4
   3.  Http2Transport Overview . . . . . . . . . . . . . . . . . . .   4
     3.1.  WebTransport Connect Streams  . . . . . . . . . . . . . .   4
     3.2.  WebTransport Streams  . . . . . . . . . . . . . . . . . .   5
     3.3.  Negotiation . . . . . . . . . . . . . . . . . . . . . . .   5
     3.4.  The SETTINGS_ENABLE_WEBTRANSPORT SETTINGS parameter . . .   5
     3.5.  The WTHEADERS Frame . . . . . . . . . . . . . . . . . . .   6
     3.6.  Initiating the Extended CONNECT Handshake . . . . . . . .   7
     3.7.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .   7
   4.  Using WebTransport Streams  . . . . . . . . . . . . . . . . .  10
     4.1.  Stream States . . . . . . . . . . . . . . . . . . . . . .  10
     4.2.  Interaction with HTTP/2 Features  . . . . . . . . . . . .  11
     4.3.  Intermediaries  . . . . . . . . . . . . . . . . . . . . .  11
     4.4.  Session Termination . . . . . . . . . . . . . . . . . . .  12
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
     6.1.  HTTP/2 Frame Type Registry  . . . . . . . . . . . . . . .  13
     6.2.  HTTP/2 Settings Registry  . . . . . . . . . . . . . . . .  13
     6.3.  HTTP/2 Error Code Registry  . . . . . . . . . . . . . . .  13
     6.4.  Upgrade Token Registration  . . . . . . . . . . . . . . .  14
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  14
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  14
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  15
Show full document text