Skip to content

Commit e28f9a5

Browse files
committed
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 79b4314 commit e28f9a5

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
@@ -1416,6 +1416,10 @@ downloads. This format of range header value can be set using <a>add a range hea
14161416
<a>implementation-defined</a> <a for=/>header value</a> for the `<code>User-Agent</code>`
14171417
<a for=/>header</a>.
14181418

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

0 commit comments

Comments
 (0)