leyline-http 0.1.5

HTTP client that impersonates Chrome, Firefox, and Safari on the wire: TLS (JA3/JA4), HTTP/2, and HTTP/3 fingerprints
Documentation
1
2
3
4
5
6
use super::evaluate;

#[test]
fn malformed_certificate_is_not_trusted() {
    evaluate(&[vec![0x30, 0x00]], "localhost").expect_err("expected Err");
}