We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4a0cd commit e8ae50dCopy full SHA for e8ae50d
lychee-bin/src/parse.rs
@@ -56,11 +56,8 @@ mod tests {
56
assert_eq!(parse_headers(&["accept=text/html"]).unwrap(), custom);
57
58
let mut custom_with_equals = HeaderMap::new();
59
- custom_with_equals.insert("Authorization", "Bearer abc=def".parse().unwrap());
60
- assert_eq!(
61
- parse_headers(&["Authorization=***"]).unwrap(),
62
- custom_with_equals
63
- );
+ custom_with_equals.insert("x-test", "check=this".parse().unwrap());
+ assert_eq!(parse_headers(&["x-test=check=this"]).unwrap(), custom_with_equals);
64
}
65
66
#[test]
0 commit comments