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

@guohuideng2024 commented on this pull request.



> @@ -6319,6 +6321,24 @@ 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>unknown</code>".

Ah I see!  I think a solution is to make `unknown` a reserved word and it cannot be used as `contentEncoding` in the response header. There is already one reserved word `identity`.

Do you think I should try to make that happen? I couldn't find how to propose changes to that iana "http parameters". There is a "contact" section on that page but the emails are obviously out of date. (they are @sun.com :) )

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

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

Received on Tuesday, 15 April 2025 16:25:28 UTC