Skip to content

Commit 87e2577

Browse files
annevkpmeenan
authored andcommitted
Encourage web browser User-Agent value to start with Mozilla/5.0 (
This matches what all major web browsers already do and navigator.appVersion relies on this to a fault. See whatwg/html#11630 for context.
1 parent 80d6e85 commit 87e2577

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fetch.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,10 @@ downloads. This format of range header value can be set using <a>add a range hea
14191419
<a>implementation-defined</a> <a for=/>header value</a> for the `<code>User-Agent</code>`
14201420
<a for=/>header</a>.
14211421

1422+
<p class=note>For unfortunate web compatibility reasons, web browsers are strongly encouraged to
1423+
have this value start with `<code>Mozilla/5.0 (</code>` and be generally modeled after other web
1424+
browsers.
1425+
14221426
<p>The <dfn>document `<code>Accept</code>` header value</dfn> is
14231427
`<code>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</code>`.
14241428

0 commit comments

Comments
 (0)