[whatwg/fetch] Header list "get" return type is unclear (Issue #1659)

https://fetch.spec.whatwg.org/commit-snapshots/086e35f3d2b2fd1961d648f2df9b4a350fff707f/#terminology-headers

> Return the values of all headers in list whose name is a byte\-case\-insensitive match for name, separated from each other by 0x2C 0x20, in order\. 

I think this is attempting to concatenate everything into a single byte sequence? But at first I read it as returning a list. Maybe using the return-value-stating form of https://infra.spec.whatwg.org/#algorithm-declaration would help.

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

Message ID: <whatwg/fetch/issues/1659@github.com>

Received on Monday, 22 May 2023 06:18:07 UTC