[][src]Function webmachine_rust::content_negotiation::matching_encoding

pub fn matching_encoding(
    resource: &WebmachineResource<'_>,
    request: &WebmachineRequest
) -> Option<String>

Determines if the encodings supported by the resource matches the acceptable encodings provided by the client. Returns the match if there is one.