Re: [whatwg/fetch] Return a `content-encoding` header for resource timing and more (PR #1796)

@annevk commented on this pull request.



> @@ -6319,6 +6321,23 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
          <li><p>Let <var>codings</var> be the result of <a>extracting header list values</a> given
          `<code>Content-Encoding</code>` and <var>response</var>'s <a for=response>header list</a>.
 
+         <li><p>Let <var>filteredCoding</var> be "<code>_</code>".

All of this is somewhat unprecedented so I'm not sure why the empty string would clearly convey it's missing (and not that its value was the empty string for instance).

It seems that `tchar` cannot contains `@` so we could use `@unknown` and `@missing` and be fine.

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

Message ID: <whatwg/fetch/pull/1796/review/2835569081@github.com>

Received on Tuesday, 13 May 2025 07:25:30 UTC