Re: [whatwg/fetch] Add getStructured/setStructured to Headers (PR #1943)

@martinthomson commented on this pull request.



> +<p class=note>Serializing structured fields is entirely optional.
+Implementations that do not support structured field serialization are
+fully compliant with this specification. The minimum conformance
+requirement is that {{Headers/setStructured()}} does not throw for valid
+inputs &mdash; an implementation that silently ignores the call is compliant.
+Whether to actually serialize and set the header is an implementation
+decision.

This seems like it could be an interoperability nightmare.  I think that you need to support SF serialization if you add this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1943#pullrequestreview-4850039213
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1943/review/4850039213@github.com>

Received on Tuesday, 4 August 2026 02:24:58 UTC