Want-Repr-Digest

The Want-Repr-Digest request or response header states the wish for a Repr-Digest header.

Header type Representation header
Forbidden header name no

Syntax

Want-Repr-Digest describes an RFC8941 dictionary with its keys being hashing algorithms and its values being the integers 0 (meaning "not acceptable") or 1 to 9 (conveying ascending, relative, weighted preference).

Note: In contrast to earlier drafts of the specifications, the weighting is not declared via q-values.

Directives

For permissible digest algorithms see Repr-Digest.

Examples

http
Want-Repr-Digest: sha-512=8, sha-256=6, adler=0, sha=1
Want-Repr-Digest: sha-512=10, sha-256=1, md5=0

Specifications

Specification
Digest Fields

Browser compatibility

This header has no specification-defined browser integration ("browser compatibility" does not apply). Developers can set and get HTTP headers using fetch() in order to provide application-specific implementation behavior.

See also