Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using "combined value" #229

Merged
merged 1 commit into from
Nov 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 5 additions & 16 deletions xhr.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1196,24 +1196,14 @@ attribute must return the <a>response</a>'s

<h4 id=the-getresponseheader()-method>The <code>getResponseHeader()</code> method</h4>

<p>The
<dfn method for=XMLHttpRequest><code>getResponseHeader(<var>name</var>)</code></dfn>
method must run these steps:

<ol>
<li><p>If <a>response</a>'s <a for=response>header list</a>
<a for="header list" lt=contain>does not contain</a> <var>name</var>, then return null.

<li><p>Return the <a>combined value</a> given <var>name</var> and <a>response</a>'s
<a for=response>header list</a>.
</ol>
<p>The <dfn method for=XMLHttpRequest><code>getResponseHeader(<var>name</var>)</code></dfn> method,
when invoked, must return the result of <a for="header list">getting</a> <var>name</var> from
<a>response</a>'s <a for=response>header list</a>

<p class="note no-backref">The Fetch Standard filters <a>response</a>'s
<a for=response>header list</a>.
[[!FETCH]]
<a for=response>header list</a>. [[!FETCH]]

<div id=example-getresponseheader class=example>

<p>For the following script:

<pre><code class=lang-javascript>
Expand All @@ -1226,8 +1216,7 @@ client.onreadystatechange = function() {
}
}</code></pre>

<p>The <code>print()</code> function will get to process something
like:
<p>The <code>print()</code> function will get to process something like:

<pre><code>
text/plain; charset=UTF-8</code></pre>
Expand Down