accept

Function accept 

Source
pub fn accept(headers: &HeaderMap) -> Option<Mime>
Expand description

First MIME type present in the Accept header.