pub fn header_diff_ratio(a: &HeaderMap, b: &HeaderMap) -> f64Expand description
Header divergence ratio in [0.0, 1.0].
Counts diverged entries: keys present on only one side, plus shared keys whose full value
sequence differs (multi-value headers compared in order). Normalized by the union of unique
keys. Two empty header maps return 0.0.