Closed dyladan closed 2 years ago
I agree that we cannot dictate the processing of the tokens, but I think the intention of those clauses was to say that whitespace is not part of the tokens. I.e. if I receive
key=" abc"
I am allowed to send it further as justkey="abc"
, I am not required to preserve whitespace. Unless we say that elsewhere, I would suggest not removing the clauses but rewording them.
Updated PTAL
Requiring OWS to be stripped when the header is parsed into a data structure is unenforceable and unnecessarily prescriptive. This specification deals with the wire format, not the in-memory representation of the data it carries. OWS should either be allowed or not and the implementer can decide if it should be stripped.
Preview | Diff