Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header list "get" return type is unclear #1659

Closed
domenic opened this issue May 22, 2023 · 0 comments · Fixed by #1660
Closed

Header list "get" return type is unclear #1659

domenic opened this issue May 22, 2023 · 0 comments · Fixed by #1660

Comments

@domenic
Copy link
Member

domenic commented May 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant