- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 15 Apr 2025 02:53:47 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1796/review/2767626179@github.com>
@annevk 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>". + + <li><p>If <var>codings</var> is null, set <var>filteredCoding</var> to the empty string. + + <li><p>Otherwise, if <var>codings</var> contains two strings or more, set <var>filteredCoding</var> to + "<code>multiple</code>". + + <li><p>Otherwise, if <var>codings[0]</var> is the empty string, or it is supported by the user agent, + and is listed in the <a href="https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding"> + content encoding registry on IANA</a>, set <var>filteredCoding</var> to <var>codings[0]</var>. It doesn't have to be in specref, you can also modify `<pre class=biblio>` in this document. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1796#discussion_r2044140943 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1796/review/2767626179@github.com>
Received on Tuesday, 15 April 2025 09:53:51 UTC