Skip to content

[spring-web] Support for RFC 8941 / RFC 10008 Structured Field Values for HTTP #36962

Description

@original-codematrix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions