On 29.01.2020 19:17, Kari Hurtta wrote: > 4.1.5. Serializing a Decimal > https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-15#section-4.1.5 > > > | Given a decimal_number as input_decimal, return an ASCII string > | suitable for use in a HTTP header value. > | > | 1. Let output be an empty string. > | > | 2. If input_decimal is less than (but not equal to) 0, append "-" to > | output. > | > | 3. Append input_decimal's integer component represented in base 10 > | (using only decimal digits) to output; if it is zero, append "0". > ... That seems to assume that the integer component always is positive...? Best regards, JulianReceived on Wednesday, 29 January 2020 18:41:32 UTC
This archive was generated by hypermail 2.4.0 : Wednesday, 29 January 2020 18:41:34 UTC