a2httpc 0.30.0

Small and lightweight HTTP client
Documentation
1
2
3
4
5
6
7
8
9
fn main() -> a2httpc::Result {
    env_logger::init();

    let resp = a2httpc::head("http://httpbin.org").send()?;
    println!("Status: {:?}", resp.status());
    println!("Headers:\n{:#?}", resp.headers());

    Ok(())
}