Function static_web_server::control_headers::append_headers
source · pub fn append_headers(uri: &str, resp: &mut Response<Body>)
Expand description
It appends a Cache-Control
header to a response if that one is part of a set of file types.