wants_html

Function wants_html 

Source
pub fn wants_html(headers: &HeaderMap) -> bool
Expand description

True when the request prefers an HTML response (no-JS form submission).