logo
pub fn matching_content_type(
    resource: &Resource<'_>,
    request: &Request
) -> Option<String>
Expand description

Determines if the media types produced by the resource matches the acceptable media types provided by the client. Returns the match if there is one.