diff --git a/fetch.bs b/fetch.bs index 7872b8067..822c859c5 100755 --- a/fetch.bs +++ b/fetch.bs @@ -126,6 +126,12 @@ urlPrefix:https://www.rfc-editor.org/rfc/rfc6454;type:dfn;spec:RFC6454 "publisher": "IETF", "title": "WebTransport over HTTP/3" }, + "WEBTRANSPORT-HTTP2": { + "authors": ["E. Kinnear"], + "href": "https://datatracker.ietf.org/doc/html/draft-ietf-webtrans-http2", + "publisher": "IETF", + "title": "WebTransport over HTTP/2" + }, "SVCB": { "aliasOf": "RFC9460" } @@ -6656,6 +6662,24 @@ optional boolean forceNewConnection (default false), run these steps: to the coarsened shared current time given fetchParams's cross-origin isolated capability. +
If request's mode is "webtransport":
+
+
Assert: the ":protocol" pseudo-header associated with
+ request is "webtransport".
+
+
If connection is an HTTP/3 connection, then set the ":protocol"
+ pseudo-header to "webtransport-h3". [[!WEBTRANSPORT-HTTP3]]
+
+
"webtransport" remains the correct value for WebTransport over an
+ HTTP/2 connection. [[WEBTRANSPORT-HTTP2]]
+
Set response to the result of making an HTTP request over connection using request with the following caveats: