pub fn matches_etag(headers: &HeaderMap, etag: &str) -> boolExpand description
Whether the request already holds this exact entity, per If-None-Match.
Compares against each tag in the list rather than the raw header, so a
browser sending several (or W/ weak forms, which a proxy may add) is
answered correctly.