Skip to main content

etag_matches

Function etag_matches 

Source
pub fn etag_matches(header: &str, tag: &str) -> bool
Expand description

Weak comparison per RFC 9110: the weakness marker is stripped from both sides, and * matches whatever the client holds.