Skip to content

Commit d58947f

Browse files
committed
Fixed serialization of URL and extraction of structured field header values
1 parent f147065 commit d58947f

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

fetch.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6579,8 +6579,9 @@ run these steps:
65796579
<li><p>If <var>compressionDictionaryCache</var> is null, then return <var>response</var>.
65806580

65816581
<li><p>Let <var>pattern</var> be the result of
6582-
<a for=/>creating a URL pattern</a> from <var>dictionaryValue</var>["<code>match</code>"]
6583-
and <var>request</var>'s <a for=request>current URL</a>.
6582+
<a for=/>creating a URL pattern</a> given the bare item of <var>dictionaryValue</var>["<code>match</code>"],
6583+
the <a lt="URL serializer">serialization</a> of <var>request</var>'s <a for=request>current URL</a>,
6584+
and an empty map.
65846585

65856586
<li><p>If <var>pattern</var> is failure or <var>pattern</var> <a for=/>has regexp groups</a>,
65866587
then return <var>response</var>.
@@ -6655,9 +6656,13 @@ given a <a for=/>fetch params</a> <var>fetchParams</var>, an optional boolean
66556656
<li><p>If <var>request</var>'s <a for=request>response tainting</a> is "<code>opaque</code>",
66566657
then return a <a>network error</a>.
66576658

6658-
<li><p>Let <var>availableDictionaryHash</var> be the result of
6659+
<li><p>Let <var>availableDictionaryItem</var> be the result of
66596660
<a>getting a structured field value</a> given `<code>Available-Dictionary</code>`,
6660-
"<code>bytestring</code>", and <var>request</var>'s <a for=request>header list</a>.
6661+
"<code>item</code>", and <var>request</var>'s <a for=request>header list</a>.
6662+
6663+
<li><p>If <var>availableDictionaryItem</var> is null, then return a <a>network error</a>.
6664+
6665+
<li><p>Let <var>availableDictionaryHash</var> be the bare item of <var>availableDictionaryItem</var>.
66616666

66626667
<li><p>Let <var>newBody</var> be a new <a for=/>body</a> whose <a for=body>stream</a> is the
66636668
result of transforming <var>response</var>'s <a for=response>body</a>'s <a for=body>stream</a>

0 commit comments

Comments
 (0)