[whatwg/fetch] Give header concepts proper types (PR #1339)

This gives headers, header names, and header values each a distinct type grounded in Infra and applies that across Fetch. This also removes the usage of pair syntax in favor of tuple syntax.

Helps with https://github.com/whatwg/infra/issues/127.

XHR PR: TODO.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1339

-- Commit Summary --

  * <a href="https://github.com/whatwg/fetch/pull/1339/commits/9dab7e95b743b64402b134fa65b72950814d8251">Give header concepts proper types</a>

-- File Changes --

    M fetch.bs (319)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1339.patch
https://github.com/whatwg/fetch/pull/1339.diff

-- 
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/1339

Received on Friday, 22 October 2021 09:06:00 UTC