Skip to content

Commit

Permalink
Editorial: use "append" to modify the header list
Browse files Browse the repository at this point in the history
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 daca6a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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>.

Expand All @@ -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>
Expand Down Expand Up @@ -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>.

Expand Down Expand Up @@ -6770,6 +6770,7 @@ Tom Schuster,
Tomás Aparicio,
保呂毅 (Tsuyoshi Horo),
Tyler Close,
Ujjwal Sharma,
Vignesh Shanmugam,
Vladimir Dzhuvinov,
Wayne Carr,
Expand Down

0 comments on commit daca6a8

Please sign in to comment.