diff --git a/fetch.bs b/fetch.bs index e0d4a87fa..dbf17712a 100644 --- a/fetch.bs +++ b/fetch.bs @@ -795,8 +795,7 @@ directly. Use get, decode, and split instead. value of the first such header to value and remove the others. -
Otherwise, append (name, value) to list.
To combine a @@ -841,7 +840,7 @@ a header list list, run these steps: of the headers in list.
For each name in names: +
For each name of names:
Let value be the result of getting name @@ -1117,7 +1116,7 @@ is a byte-case-insensitive match for one of
Let parsedValues be the result of getting, decoding, and splitting value. -
For each method in parsedValues: if the +
For each method of parsedValues: if the isomorphic encoding of method is a forbidden method, then return true.
Let lastURL be null.
For each url in request's URL list: +
For each url of request's URL list:
If lastURL is null, then set lastURL to url and @@ -4437,7 +4436,7 @@ steps:
If response's type is "opaque
",
internalResponse's status is 206, internalResponse's
range-requested flag is set, and request's
- header list does not contain `Range
`,
+ header list does not contain `Range
`,
then set response and internalResponse to a network error.
For each fetchRecord in inflightRecords: +
For each fetchRecord of inflightRecords:
Let inflightRequest be fetchRecord's @@ -6026,7 +6025,7 @@ number of these fetches. byte-case-insensitive match for an item in headerNames, then return a network error. -
For each unsafeName in the +
For each unsafeName of the CORS-unsafe request-header names with request's header list, if unsafeName is not a byte-case-insensitive match for an item in headerNames and request's @@ -6443,19 +6442,18 @@ new Headers(meta2);
Otherwise, object is a record, then for each - key → value in object, append (key, + key → value of object, append (key, value) to headers.
Otherwise, if this's guard is "response
" and
name is a forbidden response-header name, return.
-
If this's header list does not contain +
If this's header list does not contain name, then return.
Delete name from this's @@ -7436,9 +7434,8 @@ constructor steps are:
Empty this's headers's header list.
If headers is a {{Headers}} object, then for each - header in its header list, append - (header's name, header's value) to - this's headers. + header of its header list, append + header to this's headers.