You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use headers::{IfNoneMatch,Header};#[test]fntest_empty_if_none_match(){letmut iter = std::iter::empty();let if_none_match = IfNoneMatch::decode(&mut iter);assert!(if_none_match.is_err());// This assert fails. `decode` returns `Ok(IfNoneMatch(Tags("")))`}
This means that even if there's no IfNoneMatch header in the request, this'll still report it as present.
The text was updated successfully, but these errors were encountered:
This means that even if there's no
IfNoneMatch
header in the request, this'll still report it as present.The text was updated successfully, but these errors were encountered: