validators_match

Function validators_match 

Source
pub fn validators_match(upstream: Option<&str>, stored: Option<&str>) -> bool
Expand description

Whether an upstream 304’s validator agrees with the stored one (both absent also agrees — an entity with no validator is trivially unchanged). Weak comparison, like inm_matches.