failed to build request-0.0.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure builds.
If you believe this is' fault, open an issue.
Visit the last successful build: request-0.0.7


Build Status

Documentation is available here.

Quick start

request = "0.0.7"
extern crate request;

use std::collections::HashMap;

let url = "";
let mut headers: HashMap<String, String> = HashMap::new();
headers.insert("Connection".to_string(), "close".to_string());

let res = match request::get(&url, &mut headers) {
    Ok(res) => res,
    Err(e) => { println!("{}", e); return; }

println!("{}", res.http_version);
println!("{}", res.status_code);
println!("{}", res.status_message);
println!("{}", res.body);