Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4659,6 +4659,20 @@ the response. [[!HTTP-CACHING]]
<var>request</var>'s <a for=request>header list</a>.
</ol>

<li>
<p>If <var>request</var>'s <a for=request>header list</a>
<a for="header list">does not contain</a> `<code>Accept-Language</code>` and <var>request</var>'s
<a for=request>client</a> is non-null:

<ol>
<li><p>Let <var>emulatedLanguage</var> be the <a>WebDriver BiDi emulated language</a> for
<var>request</var>'s <a for=request>client</a>.

<li><p>If <var>emulatedLanguage</var> is non-null, then <a for="header list">append</a>
(`<code>Accept-Language</code>, <var>emulatedLanguage</var>, <a>isomorphic encoded</a>)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a ` missing. I also find this confusing as this could also be read as a three-tuple.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I've added "`". And moved encoding into a separate step to avoid having the three-tuple situation.

to <var>request</var>'s <a for=request>header list</a>.
</ol>

<li><p>If <var>request</var>'s <a for=request>header list</a>
<a for="header list">does not contain</a> `<code>Accept-Language</code>`, then user agents should
<a for="header list">append</a> (`<code>Accept-Language</code>, an appropriate
Expand Down