diff --git a/fetch.bs b/fetch.bs index 1ec576be7..03067d839 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", {
Return false. +
If name does not begin with the string "sec-
", return false.
+
+
As all headers beginning 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