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

You're right I used conditionals to clarify preconditions here since they're in a different spec (which might someday change).

If we're OK with cross-spec asserts I can change it to use those (for the method and pseudo header?)

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

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

Received on Monday, 1 June 2026 16:02:25 UTC