diff --git a/fetch.bs b/fetch.bs index 1ec576be7..f33877dc4 100644 --- a/fetch.bs +++ b/fetch.bs @@ -708,7 +708,11 @@ production as
  • Let value be header's value.

  • -

    Byte-lowercase header's name and switch on the result: +

    Let name be the result of byte-lowercasing header's + name. + +

  • +

    Switch on name:

    `accept` @@ -760,7 +764,12 @@ fetch("https://victim.example/naïve-endpoint", {
    Otherwise -

    Return false. +

    +

    If name does not start with `sec-`, then return false. + +

    As all headers starting with `Sec-` are forbidden header + names, we have some confidence that they're generated by the user agent, and not via APIs + that developers directly control.

  • If value's length is greater than 128, then return