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

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.