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

@noamr commented on this pull request.



> + <li><p>If <var>values</var> is null, then return null.
+
+ <li><p>Let <var>candidateValue</var> be null.
+
+ <li>
+  <p><a for=list>For each</a> <var>value</var> of <var>values</var>:
+
+  <ol>
+   <li><p>If <var>candidateValue</var> is null, then set <var>candidateValue</var> to
+   <var>value</var>.
+
+   <li><p>Otherwise, if <var>value</var> is not <var>candidateValue</var>, return failure.
+  </ol>
+
+ <li><p>If <var>candidateValue</var> is the empty string or has a <a for=/>code point</a> that is
+ not an <a for=/>ASCII digit</a>, then return null.

 I think you mean `ASCII code point`? Is unicode not allowed in `Content-Encoding`?

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

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

Received on Tuesday, 21 January 2025 14:29:13 UTC