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 (#758).
  • Loading branch information
ryzokuken committed Sep 10, 2018
1 parent 1bda545 commit 2bd2f6b
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 2bd2f6b

Please sign in to comment.