Skip to content

Commit b15a255

Browse files
committed
Move document Accept to constant
1 parent 0ab9cc0 commit b15a255

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

fetch.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,9 @@ manually. [[!HTML]]
25712571
<li><p>Return <var>potentialDestination</var>.
25722572
</ol>
25732573

2574+
<p>The <dfn lt="document Accept header value">Document `Accept` header value</dfn> is
2575+
`<code>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</code>`.
2576+
25742577

25752578
<h3 id=authentication-entries>Authentication entries</h3>
25762579

@@ -4189,11 +4192,9 @@ the request.
41894192
<ol>
41904193
<li><p>Let <var>value</var> be `<code>*/*</code>`.
41914194

4192-
<li><p>Let <var>documentAccept</var> be
4193-
`<code>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</code>`.
41944195

41954196
<li><p>If <var>request</var>'s <a for=request>initiator</a> is "<code>prefetch</code>", then set
4196-
<var>value</var> to <var>documentAccept</var>.
4197+
<var>value</var> to <a lt="document Accept header value">document `Accept` header value</a>.
41974198

41984199
<li>
41994200
<p>A user agent should set <var>value</var> to the first matching statement, if any, switching
@@ -4204,7 +4205,7 @@ the request.
42044205
<dt>"<code>document</code>"
42054206
<dt>"<code>frame</code>"
42064207
<dt>"<code>iframe</code>"
4207-
<dd><var>documentAccept</var>
4208+
<dd><a lt="document Accept header value">document `Accept` header value</a>
42084209

42094210
<dt>"<code>image</code>"
42104211
<dd>`<code>image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5</code>`

0 commit comments

Comments
 (0)