Re: [whatwg/fetch] "get, decode, and split" seems incorrect (#1068)

Well, `Content-Type` in a way, as `text/html;charset="utf-8"` ought to work. And if the parser did preserve things, it would also work for `X-Content-Type-Options` as it would simply not result in a match. (When you do want it to result in a match you can use https://fetch.spec.whatwg.org/#collect-an-http-quoted-string with the extract-value flag as parse a MIME type does.

-- 
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/1068#issuecomment-669295334

Received on Wednesday, 5 August 2020 16:28:24 UTC