You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>To <dfn>HTTP-network compression-dictionary fetch</dfn>, given a <a for=/>fetch params</a>
6461
+
<var>fetchParams</var>, an optional boolean <var>includeCredentials</var> (default false), and an
6462
+
optional boolean <var>forceNewConnection</var> (default false), run these steps:
6463
+
6464
+
<ol>
6465
+
<li><p>Let <var>request</var> be <var>fetchParams</var>'s <a for="fetch params">request</a>.
6466
+
6467
+
<li><p>If <var>request</var>'s <a for=request>mode</a> is "<code>no-cors</code>", then return the result of
6468
+
running <a>HTTP-network fetch</a> given <var>fetchParams</var>, <var>includeCredentials</var>, and
6469
+
<var>forceNewConnection</var>.
6470
+
6471
+
<li><p>If the user agent is configured to block cookies for <var>request</var>, then return the
6472
+
result of running <a>HTTP-network fetch</a> given <var>fetchParams</var>,
6473
+
<var>includeCredentials</var>, and <var>forceNewConnection</var>.
6474
+
6475
+
<li><p>Let <var>compressionDictionaryCache</var> be the result of
6476
+
<a>determining the compression-dictionary cache partition</a> given <var>request</var>.
6477
+
6478
+
<li><p>If <var>compressionDictionaryCache</var> is null, then return the result of running
6479
+
<a>HTTP-network fetch</a> given <var>fetchParams</var>, <var>includeCredentials</var>, and
6480
+
<var>forceNewConnection</var>.
6481
+
6482
+
<li><p>Let <var>bestMatch</var> be the result of finding the best matching dictionary in
6483
+
<var>compressionDictionaryCache</var> for <var>request</var> as defined in [[!HTTP-COMPRESSION-DICTIONARIES]].
6484
+
6485
+
<li><p>If <var>bestMatch</var> is null, then return the result of running <a>HTTP-network fetch</a>
6486
+
given <var>fetchParams</var>, <var>includeCredentials</var>, and <var>forceNewConnection</var>.
6487
+
6488
+
<li><p>Add the `<code>Available-Dictionary</code>` and `<code>Dictionary-ID</code>` (if applicable) headers to <var>request</var> using <var>bestMatch</var> as defined in [[!HTTP-COMPRESSION-DICTIONARIES]].
6489
+
6490
+
<li><p><a>Combine</a> (`<code>Accept-Encoding</code>`, `<code>dcb</code>`) in <var>request</var>'s <a for=request>header list</a>.
6491
+
6492
+
<li><p><a>Combine</a> (`<code>Accept-Encoding</code>`, `<code>dcz</code>`) in <var>request</var>'s <a for=request>header list</a>.
6493
+
6494
+
<li><p>Return the result of running <a>HTTP-network fetch</a> given <var>fetchParams</var>,
6495
+
<var>includeCredentials</var>, and <var>forceNewConnection</var>.
0 commit comments