Re: [whatwg/fetch] [import-bytes] add `bytes` sec-fetch-dest and accept (PR #1912)

@annevk commented on this pull request.



> @@ -2303,6 +2308,7 @@ bookkeeping details by the <a for=/>fetch</a> algorithm.
 
 <p>A <dfn export>subresource request</dfn> is a <a for=/>request</a>
 whose <a for=request>destination</a> is "<code>audio</code>", "<code>audioworklet</code>",
+"<code>bytes</code>",
 "<code>font</code>", "<code>image</code>", "<code>json</code>", "<code>manifest</code>",
 "<code>paintworklet</code>", "<code>script</code>", "<code>style</code>", "<code>track</code>",
 "<code>video</code>", "<code>xslt</code>", or the empty string.

We should rewrap here.

> @@ -3079,10 +3085,10 @@ optional <a for=/>WebTransport-hash list</a>
     given <var>key</var>, <var>url</var>'s <a for=url>origin</a>, <var>credentials</var>,
     <var>proxy</var>, an <a>implementation-defined</a> <a for=/>host</a> from <var>hosts</var>,
     <var>timingInfo</var>, <var>requireUnreliable</var>, and <var>webTransportHashes</var> an
-    <a>implementation-defined</a> number of times, <a>in parallel</a> from each other, and wait for
-    at least 1 to return a value. In an <a>implementation-defined</a> manner, select a value to
-    return from the returned values and return it. Any other returned values that are
-    <a>connections</a> may be closed.
+<a>implementation-defined</a> number of times, <a>in parallel</a> from each other, and wait for
+at least 1 to return a value. In an <a>implementation-defined</a> manner, select a value to
+return from the returned values and return it. Any other returned values that are
+<a>connections</a> may be closed.

Indentation got lost here?

> @@ -4684,6 +4690,9 @@ the response. [[!HTTP-CACHING]]
      <dt>"<code>json</code>"
      <dd>`<code>application/json,*/*;q=0.5</code>`
 
+     <dt>"<code>bytes</code>"
+     <dd>`<code>*/*</code>`

Let's put this first so they are in lexicographical order.

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

Message ID: <whatwg/fetch/pull/1912/review/3909006817@github.com>

Received on Saturday, 7 March 2026 16:07:24 UTC