Re: [whatwg/fetch] Behavior of `Headers.set(name, null)` and `Headers.get(name)` (Issue #1792)

As I stated:

> This breaks the get/set symmetry: indeed, we should be able to do Headers.set(name, Headers.get(name)).

> I think something like "if value is null, all headers are removed" should be added to the documentation to remove such faulty behavior.

The standard should respect `get`/`set` symmetry.

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

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

Received on Sunday, 8 December 2024 06:17:40 UTC