- From: Frédéric Wang Nélar <notifications@github.com>
- Date: Thu, 30 Apr 2026 01:21:33 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1854/review/4203534795@github.com>
@fred-wang commented on this pull request. > + <ol> + <li><p>Let <var>dictionaryValue</var> be the result of + <a for="header list">getting a structured field value</a> given `<code>Use-As-Dictionary</code>`, + "<code>dictionary</code>", and <var>response</var>'s <a for=response>header list</a>. + + <li><p>If <var>dictionaryValue</var> is null or <var>dictionaryValue</var>["<code>match</code>"] + does not <a for=map>exist</a>, then return <var>response</var>. + + <li><p>Let <var>compressionDictionaryCache</var> be the result of + <a>determining the compression-dictionary cache partition</a> given <var>request</var>. + + <li><p>If <var>compressionDictionaryCache</var> is null, then return <var>response</var>. + + <li><p>Let <var>pattern</var> be the result of + <a for=/>creating a URL pattern</a> from <var>dictionaryValue</var>["<code>match</code>"] + and <var>request</var>'s <a for=request>current URL</a>. It seems the text for callers of this algorithm is written that way: "creating a URL pattern, given dictionaryValue["match"], request's current URL and an empty map". Also, request's current URL is an URL not a string, so we should perform a serialization similar to https://urlpattern.spec.whatwg.org/#other-specs-http (IIUC we can't use that one, because dictionary["match"] is a dictionary value not an HTTP structured field value). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1854#pullrequestreview-4203534795 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1854/review/4203534795@github.com>
Received on Thursday, 30 April 2026 08:21:37 UTC