use http_req::request; fn main() { let res = request::head("https://httpbin.org/headers").unwrap(); println!("Status: {} {}", res.status_code(), res.reason()); println!("{:?}", res.headers()); }