Skip to content

Commit daca6a8

Browse files
ryzokukenannevk
authored andcommitted
Editorial: use "append" to modify the header list
Use "append" instead of "set" to modify the header list, improving consistency. Fixes #758.
1 parent 1bda545 commit daca6a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fetch.bs

+4-3
Original file line numberDiff line numberDiff line change
@@ -4397,7 +4397,7 @@ run these steps:
43974397
does not matter as this algorithm uses <a>HTTP-network-or-cache fetch</a> rather than
43984398
<a>HTTP fetch</a>.
43994399

4400-
<li><p><a for="header list">Set</a> `<a http-header><code>Access-Control-Request-Method</code></a>`
4400+
<li><p><a for="header list">Append</a> `<a http-header><code>Access-Control-Request-Method</code></a>`
44014401
to <var>request</var>'s <a for=request>method</a> in <var>preflight</var>'s
44024402
<a for=request>header list</a>.
44034403

@@ -4411,7 +4411,7 @@ run these steps:
44114411
<li><p>Let <var>value</var> be the items in <var>headers</var> separated from each other by
44124412
`<code>,</code>`.
44134413

4414-
<li><p><a for="header list">Set</a>
4414+
<li><p><a for="header list">Append</a>
44154415
`<a http-header><code>Access-Control-Request-Headers</code></a>` to <var>value</var> in
44164416
<var>preflight</var>'s <a for=request>header list</a>.
44174417
</ol>
@@ -6035,7 +6035,7 @@ method, when invoked, must run these steps:
60356035
<li><p>Set <var>r</var>'s <a for=Response>response</a>'s
60366036
<a for=response>status</a> to <var>status</var>.
60376037

6038-
<li><p><a for="header list">Set</a> `<code>Location</code>` to <var>parsedURL</var>,
6038+
<li><p><a for="header list">Append</a> `<code>Location</code>` to <var>parsedURL</var>,
60396039
<a lt="url serializer">serialized</a> and <a>isomorphic encoded</a>, in <var>r</var>'s
60406040
<a for=Response>response</a>'s <a for=response>header list</a>.
60416041

@@ -6770,6 +6770,7 @@ Tom Schuster,
67706770
Tomás Aparicio,
67716771
保呂毅 (Tsuyoshi Horo),
67726772
Tyler Close,
6773+
Ujjwal Sharma,
67736774
Vignesh Shanmugam,
67746775
Vladimir Dzhuvinov,
67756776
Wayne Carr,

0 commit comments

Comments
 (0)