Re: [whatwg/fetch] Update :protocol to webtransport-h3 for WebTransport over HTTP/3 (PR #1930)

@jan-ivar commented on this pull request.



> @@ -6656,6 +6656,13 @@ 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>",
+    <var>connection</var> is an HTTP/3 connection, and the "<code>:protocol</code>"
+    pseudo-header associated with <var>request</var>'s <a for=request>method</a> is
+    "<code>webtransport</code>", then set the "<code>:protocol</code>" pseudo-header to

It is set to "`webtransport`" [in the WT constructor](https://w3c.github.io/webtransport/#pseudo-header) so that is the only possible value rn and is valid for H2. But H3 is not a precondition at that point, hence the need for code here. I'll add a note to clarify this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1930#discussion_r3335390828
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1930/review/4402605823@github.com>

Received on Monday, 1 June 2026 15:44:50 UTC