- From: Guohui Deng <notifications@github.com>
- Date: Mon, 12 May 2025 11:05:44 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1796/review/2834064199@github.com>
@guohuideng2024 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>".
+
+ <li><p>If <var>codings</var> is null, then set <var>filteredCoding</var> to the empty string.
+
+ <li><p>Otherwise, if <var>codings</var>'s <a for=list>size</a> is greater than 1, then set
+ <var>filteredCoding</var> to "<code>multiple</code>".
+
+ <li><p>Otherwise, if <var>codings</var>[0] is the empty string, or it is supported by the user agent,
+ and is a <a>byte-case-insensitive</a> match for an entry listed in the
+ <a href="https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding">
I see! I removed the <a> and moved the [[]] reference to the end of the paragraph. Is the current patch good now?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1796#discussion_r2085189071
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1796/review/2834064199@github.com>
Received on Monday, 12 May 2025 18:05:49 UTC