SH: Integer limits

I've just opened <https://github.com/httpwg/http-extensions/issues/737>. 

"""
Working on evert/structured-headers, @evert noticed that representing the full range of SH integers is hard, and going beyond it can cause problems.

Given JS's place in the Web ecosystem and the relative rarity of headers that need integers that big (as well as the availability of floats), should we consider limiting the range of integer to match JS?
"""

Relevant link: http://2ality.com/2013/10/safe-integers.html


Thoughts?




--
Mark Nottingham   https://www.mnot.net/

Received on Wednesday, 12 December 2018 02:00:39 UTC