Skip to content

Commit ba369f6

Browse files
committed
Improved rfc links
1 parent 31d5f7d commit ba369f6

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

fetch.bs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Translate IDs: typedefdef-bodyinit bodyinit,dictdef-requestinit requestinit,type
1616
urlPrefix:https://httpwg.org/specs/rfc5861.html#;type:dfn;spec:stale-while-revalidate
1717
url:n-the-stale-while-revalidate-cache-control-extension;text:stale-while-revalidate lifetime
1818

19+
urlPrefix:https://httpwg.org/specs/rfc9842.html#;type:dfn;spec:rfc9842
20+
url:use-as-dictionary;text:Use-As-Dictionary
21+
url:available-dictionary;text:Available-Dictionary
22+
url:dictionary-id;text:Dictionary-ID
23+
url:rfc.section.2.2;text:finding the best matching dictionary
24+
1925
urlPrefix:https://httpwg.org/specs/rfc9651.html#;type:dfn;spec:rfc9651
2026
url:rfc.section.2;text:structured field value
2127
url:text-serialize;text:serializing structured fields
@@ -6617,12 +6623,12 @@ run these steps:
66176623
<li>
66186624
<p>If <var>request</var>'s <a for=request>response tainting</a> is not "<code>opaque</code>"
66196625
and <var>response</var>'s <a for=response>header list</a> <a for="header list">contains</a>
6620-
`<code>Use-As-Dictionary</code>`:
6626+
<a><code>Use-As-Dictionary</code></a>:
66216627
<!-- This is defined in [[!RFC9842]] -->
66226628

66236629
<ol>
66246630
<li><p>Let <var>dictionaryValue</var> be the result of
6625-
<a for="header list">getting a structured field value</a> given `<code>Use-As-Dictionary</code>`,
6631+
<a for="header list">getting a structured field value</a> given <a><code>Use-As-Dictionary</code></a>,
66266632
"<code>dictionary</code>", and <var>response</var>'s <a for=response>header list</a>.
66276633

66286634
<li><p>If <var>dictionaryValue</var> is null or <var>dictionaryValue</var>["<code>match</code>"]
@@ -6708,14 +6714,13 @@ given a <a for=/>fetch params</a> <var>fetchParams</var>, an optional boolean
67086714
<li><p>If <var>compressionDictionaryCache</var> is null, then return the result of running
67096715
<var>fallback</var>.
67106716

6711-
<li><p>Let <var>bestMatch</var> be the result of finding the best matching dictionary in
6712-
<var>compressionDictionaryCache</var> for <var>request</var> as defined in
6713-
[[!RFC9842]] section 2.2.
6717+
<li><p>Let <var>bestMatch</var> be the result of <a>finding the best matching dictionary</a> in
6718+
<var>compressionDictionaryCache</var> for <var>request</var>.
67146719

67156720
<li><p>If <var>bestMatch</var> is null, then return the result of running <var>fallback</var>.
67166721

6717-
<li><p>Add the `<code>Available-Dictionary</code>` ([[!RFC9842]] section 2.2) and `<code>Dictionary-ID</code>`
6718-
([[!RFC9842]] section 2.3) (if applicable) headers to <var>request</var> using <var>bestMatch</var>.
6722+
<li><p>Add the <a><code>Available-Dictionary</code></a> and <a><code>Dictionary-ID</code></a>
6723+
(if applicable) headers to <var>request</var> using <var>bestMatch</var>.
67196724

67206725
<li><p><a for="header list">append</a> (`<code>Accept-Encoding</code>`, `<code>dcb</code>`)
67216726
to <var>request</var>'s <a for=request>header list</a>.
@@ -6735,7 +6740,7 @@ given a <a for=/>fetch params</a> <var>fetchParams</var>, an optional boolean
67356740
then return a <a>network error</a>.
67366741

67376742
<li><p>Let <var>availableDictionaryItem</var> be the result of
6738-
<a for="header list">getting a structured field value</a> given `<code>Available-Dictionary</code>`,
6743+
<a for="header list">getting a structured field value</a> given <a><code>Available-Dictionary</code></a>,
67396744
"<code>item</code>", and <var>request</var>'s <a for=request>header list</a>.
67406745

67416746
<li><p>If <var>availableDictionaryItem</var> is null, then return a <a>network error</a>.

0 commit comments

Comments
 (0)