- From: Frédéric Wang Nélar <notifications@github.com>
- Date: Mon, 08 Jun 2026 08:16:37 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1854/review/4450798912@github.com>
@fred-wang commented on this pull request. > + "<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> given the bare item of <var>dictionaryValue</var>["<code>match</code>"], + the <a lt="URL serializer">serialization</a> of <var>request</var>'s <a for=request>current URL</a>, + and an empty map. + + <li><p>If <var>pattern</var> is failure or <var>pattern</var> <a for=/>has regexp groups</a>, > As far as priority goes, path specificity is the only factor in prioritization (with freshness being a tie-breaker). match-dest is just a filter for what candidates can be considered. But https://www.rfc-editor.org/info/rfc9842/#name-multiple-matching-dictionar actually does use match-dest non-emptiness as the 1st factor for prioritization, with match length being second and freshness being third: > 1. For clients that support request destinations, a dictionary that specifies and matches a "match-dest" takes precedence over a match that does not use a destination > 2. Given equivalent destination precedence [...] > 3. Given equivalent destination and match length precedence [...] -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1854#discussion_r3374299227 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1854/review/4450798912@github.com>
Received on Monday, 8 June 2026 15:16:41 UTC