Permalink
Browse files

Editorial: use "append" to modify the header list

Use "append" instead of "set" to modify the header list, improving consistency.

Fixes #758.
  • Loading branch information...
ryzokuken authored and annevk committed Sep 10, 2018
1 parent 1bda545 commit daca6a824c0c6c5e22b7f7eb70001f36c1732cb1
Showing with 4 additions and 3 deletions.
  1. +4 −3 fetch.bs
View
@@ -4397,7 +4397,7 @@ run these steps:
does not matter as this algorithm uses <a>HTTP-network-or-cache fetch</a> rather than
<a>HTTP fetch</a>.
<li><p><a for="header list">Set</a> `<a http-header><code>Access-Control-Request-Method</code></a>`
<li><p><a for="header list">Append</a> `<a http-header><code>Access-Control-Request-Method</code></a>`
to <var>request</var>'s <a for=request>method</a> in <var>preflight</var>'s
<a for=request>header list</a>.
@@ -4411,7 +4411,7 @@ run these steps:
<li><p>Let <var>value</var> be the items in <var>headers</var> separated from each other by
`<code>,</code>`.
<li><p><a for="header list">Set</a>
<li><p><a for="header list">Append</a>
`<a http-header><code>Access-Control-Request-Headers</code></a>` to <var>value</var> in
<var>preflight</var>'s <a for=request>header list</a>.
</ol>
@@ -6035,7 +6035,7 @@ method, when invoked, must run these steps:
<li><p>Set <var>r</var>'s <a for=Response>response</a>'s
<a for=response>status</a> to <var>status</var>.
<li><p><a for="header list">Set</a> `<code>Location</code>` to <var>parsedURL</var>,
<li><p><a for="header list">Append</a> `<code>Location</code>` to <var>parsedURL</var>,
<a lt="url serializer">serialized</a> and <a>isomorphic encoded</a>, in <var>r</var>'s
<a for=Response>response</a>'s <a for=response>header list</a>.
@@ -6770,6 +6770,7 @@ Tom Schuster,
Tomás Aparicio,
保呂毅 (Tsuyoshi Horo),
Tyler Close,
Ujjwal Sharma,
Vignesh Shanmugam,
Vladimir Dzhuvinov,
Wayne Carr,

0 comments on commit daca6a8

Please sign in to comment.