pub fn digest_matches(header: &str, body: &[u8]) -> bool
Whether a Digest header holds the body’s digest: SHA-256=…, possibly beside SHA-512=… or algorithms not known here, each base64.
Digest
SHA-256=…
SHA-512=…