Re: [whatwg/fetch] "Get" a structured header from a header list. (#983)

I'm really confused why we'd introduce this wrapper. All it seems to add over using the SH spec directly is an assert and a redundant "if failure, return failure".

In https://wicg.github.io/origin-policy/#parse-an-origin-policy-header I used the SH spec directly and I see no compelling reason to change.

I am -1 on this PR.

-- 
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/pull/983#issuecomment-565463764

Received on Friday, 13 December 2019 14:37:36 UTC