inm_matches

Function inm_matches 

Source
pub fn inm_matches(inm: &str, etag: Option<&str>) -> bool
Expand description

Whether a client If-None-Match value matches a stored validator: * matches any; otherwise weak comparison (RFC 9110 section 8.8.3 — the W/ prefix is ignored on both sides) over the comma-separated list. A stored entry without a validator never matches.