- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Fri, 22 May 2020 05:11:22 +0200
- To: Mark Nottingham <mnot@mnot.net>, "Rob Wilton (rwilton)" <rwilton@cisco.com>
- Cc: The IESG <iesg@ietf.org>, "draft-ietf-httpbis-header-structure@ietf.org" <draft-ietf-httpbis-header-structure@ietf.org>, "httpbis-chairs@ietf.org" <httpbis-chairs@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Tommy Pauly <tpauly@apple.com>
On 22.05.2020 03:10, Mark Nottingham wrote: > >> On 21 May 2020, at 8:00 pm, Rob Wilton (rwilton) <rwilton@cisco.com> wrote: >> >>>> 3.3.1 Integers >>>> Are "00" "01" "-0", "-01" all allowed? >>> >>> They're all allowed in the serialisation, but aren't necessarily distinct >>> in the data model. Do you (and others) think it's worth mentioning here? >> [RW] >> >> I would. There doesn't seem to be downside to being explicit that they are allowed, even if not recommended. > > See: > https://github.com/httpwg/http-extensions/commit/9e2bb280faa05 > > Thanks again, Hm. I'm a bit confused, as the spec in other cases tries to be as strict as possible for serialization. Is there a reason why we don't just disallow leading 0s, or trailing 0s after the decimal point? In particular in the case of Decimals, some implementations preserving "precision" and others not doing so could be problematic. Best regards, Julian
Received on Friday, 22 May 2020 03:11:52 UTC