Internet-Draft | HTTP/2 Extensions in HTTP/3 | May 2020 |
Bishop | Expires 16 November 2020 | [Page] |
The ALTSVC and ORIGIN frames for HTTP/2 are equally applicable to HTTP/3, but need to be separately registered. This document describes the ALTSVC and ORIGIN frames for HTTP/3.¶
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 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 16 November 2020.¶
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.¶
Existing RFCs define extensions to HTTP/2 which remain useful in HTTP/3. Appendix A.2.3 of [HTTP3] describes the required updates for HTTP/2 frames to be used with HTTP/3.¶
[ALTSVC] defines HTTP Alternative Services, which allow an origin's resources to be authoritatively available at a separate network location, possibly accessed with a different protocol configuration. It defines two mechanisms for transporting such information, an HTTP response header and an HTTP/2 frame type.¶
[ORIGIN] defines the HTTP/2 ORIGIN frame, which indicates what origins are available on a given connection. It defines a single HTTP/2 frame type.¶
Where HTTP/2 reserves Stream 0 for frames related to the state of the connection, HTTP/3 defines a pair of unidirectional streams called "control streams" for this purpose. Where the existing RFCs indicate that a stream should be sent on Stream 0, this should be interpreted to mean the HTTP/3 control stream.¶
The ALTSVC HTTP/3 frame advertises the availability of an alternative service to an HTTP/3 client.¶
An ALTSVC frame from a server to a client on the server's control stream indicates that the conveyed alternative service is associated with the origin contained in the Origin field of the frame.¶
An ALTSVC frame from a server to a client on a stream other than the control stream indicates that the conveyed alternative service is associated with the origin of that stream.¶
The layout and semantics of the frame payload are identical to those of the HTTP/2 frame defined in [ALTSVC]. The ALTSVC frame type is 0xa (decimal 10), as in HTTP/2.¶
The ORIGIN HTTP/3 frame allows a server to indicate what origin(s) ([RFC6454]) the server would like the client to consider as members of the Origin Set (Section 2.3 of [ORIGIN]) for the connection within which it occurs.¶
The ORIGIN frame is sent from servers to clients on the server's control stream.¶
The layout and semantics of the frame payload are identical to those of the HTTP/2 frame defined in [ORIGIN]. The ORIGIN frame type is 0xc (decimal 12), as in HTTP/2.¶
This document introduces no new security considerations beyond those discussed in [ALTSVC] and [HTTP3].¶
This document registers two frame types in the "HTTP/3 Frame Type" registry ([HTTP3]).¶
Frame Type | Value | Specification |
---|---|---|
ALTSVC | 0xa | Section 3 |
ORIGIN | 0xc | Section 4 |
A portion of Mike's work on this draft was supported by Microsoft during his employment there.¶