- From: Andreu Botella <notifications@github.com>
- Date: Wed, 01 Feb 2023 01:12:08 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 1 February 2023 09:12:25 UTC
> With the case of the `keys()` iterator here, would the intention of this PR be to make it so that `set-cookie` could appear multiple times? Or should the `keys()` iterator always only produce a unique set? The way this is currently defined, it would appear that the keys iterator could have `set-cookie` multiple times. That seems intentional in the way pair iteration works in WebIDL. That way, `headers.keys().length === headers.values().length` and the indices match. Do you think this would break some existing code, though? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1346#issuecomment-1411710408 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1346/c1411710408@github.com>
Received on Wednesday, 1 February 2023 09:12:25 UTC