mnot / I-D

My Internet-Drafts
https://mnot.github.io/I-D/
Other
98 stars 38 forks source link

bikeshed-length header: "decimal" number of octets? #314

Closed ePaul closed 1 year ago

ePaul commented 4 years ago

In section 2 of today's draft:

Its value MUST be an Integer (Section x.x of [I-D.ietf-httpbis-header-structure]), indicating a decimal number of octets for a potential payload body.

"Decimal" is not a kind of number, but a way of representing it (as an alternative to e.g. binary, hexadecimal or octal). You can say it's an integer written in decimal form (but that is already part of the structured header's integer definition, and might be different in other serializations). But the number of octets in a payload body is just an (integer) number, nothing decimal about it.

This also creates confusion because "decimal" is a separate type of structured-header item.

I would suggest to just remove the "decimal" here.