Okay, lets see how to do the Sec-CH-UA stuff! Lets start with an API on the Roto side:
match request.header("sec-ch-ua") {
Some(hdr) => {
let scu = matchers.SFV.parse_list(hdr) {
Ok(list) => {
if list.contains("Chromium") { ... }
},
Err(e) => return Err(e),
}
}
None => {}
}
A bit verbose, yes, but this lets me handle errors in a reasonable way.