Skip to content

Commit b07a52c

Browse files
authored
Editorial: update argument for collect an HTTP quoted string
Rename the "extract-value flag" argument of the algorithm "collect an HTTP quoted string" to a boolean "extract-value" that will by default be false. Downstream updates: whatwg/mimesniff#170. Fixes #1567.
1 parent 4502481 commit b07a52c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fetch.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ preferred. Unlike <a>ASCII whitespace</a> this excludes U+000C FF.
446446
<p>To
447447
<dfn export lt="collect an HTTP quoted string|collecting an HTTP quoted string">collect an HTTP quoted string</dfn>
448448
from a <a for=/>string</a> <var>input</var>, given a <a>position variable</a> <var>position</var>
449-
and optionally an <var>extract-value flag</var>, run these steps:
449+
and an optional boolean <var>extract-value</var> (default false):
450450

451451
<ol>
452452
<li><p>Let <var>positionStart</var> be <var>position</var>.
@@ -495,7 +495,7 @@ and optionally an <var>extract-value flag</var>, run these steps:
495495
</ol>
496496
</ol>
497497

498-
<li><p>If the <var>extract-value flag</var> is set, then return <var>value</var>.
498+
<li><p>If <var>extract-value</var> is true, then return <var>value</var>.
499499

500500
<li><p>Return the <a for=/>code points</a> from <var>positionStart</var> to <var>position</var>,
501501
inclusive, within <var>input</var>.
@@ -506,7 +506,7 @@ and optionally an <var>extract-value flag</var>, run these steps:
506506
<tr>
507507
<th>Input
508508
<th>Output
509-
<th>Output with the <var>extract-value flag</var> set
509+
<th>Output with <var>extract-value</var> set to true
510510
<th>Final <a>position variable</a> value
511511
<tr>
512512
<td>"<code><mark>"\</mark></code>"

0 commit comments

Comments
 (0)