Re: [whatwg/fetch] Add special handling of `set-cookie` to Headers (PR #1346)

I'm fine with this.

I have a weak opinion that, for server-side vendors, `getAll()` is slightly more flexible: If we have some big customer come along and say "We really need to access this legacy API, but it has a header that misuses commas, which we can't change," we can easily say "No problem, we'll just add your special weird header to the `getAll()` allow list." On the server side, implementing special requests for high-paying customers are not uncommon. Obviously, on the browser side, such special requests would be complete nonsense, since web sites don't get to choose which browser is used to open them.

But I have seen no evidence that any such headers exist in the wild, so it seems unlikely we'll ever get this exact sort of special request. So, whatever. :)

-- 
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/1346#issuecomment-961244712

Received on Thursday, 4 November 2021 17:09:35 UTC