[whatwg/fetch] Access-Control-Request-Method error handling (#1317)

In the latest HTTP Archive dump (September, desktop), ACRM appears in 346,135 responses (out of more than 528 million). 

30,680 of them (8.142%) don't parse well. AFAICT that's overwhelming because people list multiple methods; e.g.,

~~~
GET,HEAD
GET, POST , OPTIONS ,PUT, DELETE, PATCH
OPTIONS,GET,POST
POST, OPTIONS
~~~

and so forth.

The [spec text regarding parsing this header](https://fetch.spec.whatwg.org/#ref-for-http-access-control-request-methodâ‘ ) is pretty thin, AFAICT. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1317

Received on Monday, 4 October 2021 07:39:09 UTC