request 0.0.8

Request failed to build request-0.0.8
Please check build logs and if you believe this is' fault, report into this issue report.


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);