- From: Patrick Meenan <notifications@github.com>
- Date: Fri, 22 May 2026 12:12:28 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1854/review/4348295232@github.com>
@pmeenan commented on this pull request. > @@ -6531,12 +6559,126 @@ run these steps: <li><p>If <var>isAuthenticationFetch</var> is true, then create an <a>authentication entry</a> for <var>request</var> and the given realm. + <li> + <p>If <var>request</var>'s <a for=request>response tainting</a> is not "<code>opaque</code>" + and <var>response</var>'s <a for=response>header list</a> <a for="header list">contains</a> + `<code>Use-As-Dictionary</code>`: + <!-- This is defined in [[!RFC9842]] --> + + <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>. Added details on how to handle invalid values for the other parameters. I don't explicitly call out that unknown keys should be ignored but I can add an explicit step to delete unknown keys if you think it would help. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1854#discussion_r3290743578 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1854/review/4348295232@github.com>
Received on Friday, 22 May 2026 19:12:32 UTC