Want-Content-Digest

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The Want-Content-Digest request or response header states the wish for a Content-Digest header. It is the Content- analogue of Want-Repr-Digest.

Header type Representation header
Forbidden header name no

Syntax

Want-Content-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-Content-Digest: md5=1, sha-512=0, sha-256=4
Want-Content-Digest: md5=0

Specifications

Specification
Unknown specification

Browser compatibility

BCD tables only load in the browser

See also