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

@martinthomson commented on this pull request.



> +   <li><p>If <var>jsValue</var> is an
+   <a href="https://tc39.es/ecma262/#sec-isinteger">integral number</a>,
+   return a <a>structured field integer</a> with <var>jsValue</var>'s value.
+
+   <li><p>Otherwise, return a <a>structured field decimal</a> with
+   <var>jsValue</var>'s value.

What do you do with values outside of the range that SF requires support for?  Would 6e110 be presented with all 110 digits?

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

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

Received on Tuesday, 4 August 2026 02:23:10 UTC