Skip to main content

extract_from

Function extract_from 

Source
pub fn extract_from(headers: &HeaderMap) -> Result<ManifestLink, Error>
Expand description

The c2pa-manifest link advertised by a header map, if exactly one is.

Header values that are not valid UTF-8 are skipped rather than failing the lookup: a malformed unrelated Link field must not hide a good one.