Support for RFC 8941 / RFC 10008 Structured Field Values for HTTP

Author: original-codematrixCreated Jun 23, 2026Updated Sep 19, 2026
Labelsin: webtype: enhancement

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.

Source: spring-projects/spring-framework