Function webmachine_rust::content_negotiation::matching_language
[−]
[src]
pub fn matching_language(
resource: &WebmachineResource,
request: &WebmachineRequest
) -> Option<String>
Determines if the languages produced by the resource matches the acceptable languages provided by the client. Returns the match if there is one.