Summary
There is currently no support in spring-web for parsing or serializing
structured HTTP header fields as defined in RFC 8941 and the in-progress
RFC 10008 (https://datatracker.ietf.org/doc/rfc10008/).
We are working with headers like Priority, Accept-CH and Signature-Input
and currently have to parse them manually or rely on third-party libraries,
since HttpHeaders has no understanding of the RFC 8941 structured types
(Item, List, Dictionary, Token, Byte Sequence).
Proposed solution
Add parsing and serialization support for RFC 8941 structured field values
to spring-web, for example as a utility class StructuredFieldValues or
as typed accessors directly on HttpHeaders.
Summary
There is currently no support in
spring-webfor parsing or serializingstructured HTTP header fields as defined in RFC 8941 and the in-progress
RFC 10008 (https://datatracker.ietf.org/doc/rfc10008/).
We are working with headers like
Priority,Accept-CHandSignature-Inputand currently have to parse them manually or rely on third-party libraries,
since
HttpHeadershas no understanding of the RFC 8941 structured types(Item, List, Dictionary, Token, Byte Sequence).
Proposed solution
Add parsing and serialization support for RFC 8941 structured field values
to
spring-web, for example as a utility classStructuredFieldValuesoras typed accessors directly on
HttpHeaders.