diff --git a/fetch.bs b/fetch.bs index f00f3c966..9ff99624f 100755 --- a/fetch.bs +++ b/fetch.bs @@ -1420,6 +1420,21 @@ downloads. This format of range header value can be set using add a range hea have this value start with `Mozilla/5.0 (` and be generally modeled after other web browsers. +
+

To get the environment settings object environment's +environment default `User-Agent` value: + +

    +
  1. Let userAgent be the WebDriver BiDi emulated User-Agent for + environment. + +

  2. If userAgent is non-null, then return userAgent, + isomorphic encoded. + +

  3. Return the default `User-Agent` value. +

+
+

The document `Accept` header value is `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`. @@ -5986,11 +6001,17 @@ run these steps: the token prefetch) in httpRequest's header list. -

  • If httpRequest's header list - does not contain `User-Agent`, then user agents should - append (`User-Agent`, - default `User-Agent` value) to httpRequest's - header list. +

  • +

    If httpRequest's header list does not contain `User-Agent`, then user agents should: + +

      +
    1. Let userAgent be httpRequest's client's + environment default `User-Agent` value. + +

    2. Append (`User-Agent`, userAgent) to + httpRequest's header list. +

  • If httpRequest's cache mode is "default" and httpRequest's header list contains