Skip to content

no-vary: simplify SF field format #3287

@reschke

Description

@reschke

Section 3:

If present, the params entry's value MUST be either a boolean (Section
3.3.6 of [STRUCTURED-FIELDS]) or an inner list (Section 3.1.1 of
[STRUCTURED-FIELDS]).

Maybe personal taste, but having varying datatypes for the same param feels wrong. Maybe use empty list instead
of boolean.

That would change:

No-Vary-Search: params, except=("productId")

to

No-Vary-Search: params=(), except=("productId")

which would make things both more consistent and readable. Or even drop
the "no params" syntax.

No-Vary-Search: except=("productId")

Also: this should say what format the contents of the inner list can have. (just stating it in the parsing algorithm is not suffient)

(see https://lists.w3.org/Archives/Public/ietf-http-wg/2025OctDec/0000.html)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions