Function matching_charset

Source
pub fn matching_charset(
    resource: &(dyn Resource + Send + Sync),
    request: &WebmachineRequest,
) -> Option<String>
Expand description

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