Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -6656,6 +6662,24 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
to the <a for=/>coarsened shared current time</a> given <var>fetchParams</var>'s
<a for="fetch params">cross-origin isolated capability</a>.

<li>
<p>If <var>request</var>'s <a for=request>mode</a> is "<code>webtransport</code>":

<ol>
<li><p><a for=/>Assert</a>: <var>request</var>'s <a for=request>method</a> is
`<code>CONNECT</code>`.

<li><p><a for=/>Assert</a>: the "<code>:protocol</code>" pseudo-header associated with
<var>request</var> is "<code>webtransport</code>".

<li>
<p>If <var>connection</var> is an HTTP/3 connection, then set the "<code>:protocol</code>"
pseudo-header to "<code>webtransport-h3</code>". [[!WEBTRANSPORT-HTTP3]]

<p class=note>"<code>webtransport</code>" remains the correct value for WebTransport over an
HTTP/2 connection. [[WEBTRANSPORT-HTTP2]]
</ol>

<li>
<p>Set <var>response</var> to the result of making an HTTP request over <var>connection</var>
using <var>request</var> with the following caveats:
Expand Down