diff --git a/fetch.bs b/fetch.bs index 568d86f13..82611591e 100644 --- a/fetch.bs +++ b/fetch.bs @@ -438,18 +438,7 @@ each other by 0x2C 0x20, in order.
`accept`
-

If one of the following is true - -

- - -

then return false. +

If value contains a CORS-unsafe request-header byte, then return false.

`accept-language`
`content-language` @@ -460,12 +449,20 @@ each other by 0x2C 0x20, in order.
`content-type` -

If value, once extracted, does not have a - MIME type (ignoring parameters) that is application/x-www-form-urlencoded, - multipart/form-data, or text/plain, then return false. - +

+
    +
  1. If value contains a CORS-unsafe request-header byte, then return + false. + +

  2. Let mimeType be the result of parsing + value. + +

  3. If mimeType is falure, then return false. + +

  4. If mimeType's essence is not + "application/x-www-form-urlencoded", "multipart/form-data", or + "text/plain", then return false. +

`DPR`
`Downlink` @@ -488,6 +485,18 @@ each other by 0x2C 0x20, in order.

There are limited exceptions to the `Content-Type` header safelist, as documented in CORS protocol exceptions. +

A CORS-unsafe request-header byte is a byte byte for which one of the +following is true: + +

+

The CORS-unsafe request-header names, given a header list headers, are determined as follows: