Re: draft-ietf-httpbis-header-structure: handling multiple field values

On Tue, May 12, 2020 at 01:39:18PM -0400, Ian Clelland wrote:
> This is mentioned in
> https://httpwg.org/http-extensions/draft-ietf-httpbis-header-structure.html#rfc.section.4.2
> --
> "parsers MUST combine all lines in the same section (header or trailer)
> that case-insensitively match the field name into one comma-separated
> field-value", (with the warning given that strings split across multiple
> field values will have "unpredictable results") -- So I don't think you're
> allowed to parse them separately. If both exist in the same message, they
> must be combined before parsing.

Thanks, so the behavior is indeed well defined and easy to enforce.

Willy

Received on Tuesday, 12 May 2020 17:46:45 UTC