From #74393 (comment)
The spec defines field lines as
field-line = field-name ":" OWS field-value OWS
OWS = *( SP / HTAB )
We currently trim leading SP and HTAB, but only trailing SP.
It should be much more common to encounter an HTAB before the value (following the name:), as there usually isn't any whitespace after the value.
Do we care about this inconsistency?
Filing this so we can make a conscious decision we can point to in the future.
From #74393 (comment)
The spec defines field lines as
We currently trim leading SP and HTAB, but only trailing SP.
It should be much more common to encounter an HTAB before the value (following the
name:), as there usually isn't any whitespace after the value.Do we care about this inconsistency?
Filing this so we can make a conscious decision we can point to in the future.