# Request [![Build Status](https://travis-ci.org/ghmlee/rust-request.svg?branch=master)](https://travis-ci.org/ghmlee/rust-request) Documentation is available [here](https://ghmlee.github.io/rust-request/doc/request). ## Quick start ``` [dependencies] request = "0.0.7" ``` ```rust extern crate request; use std::collections::HashMap; let url = "https://github.com/ghmlee"; let mut headers: HashMap = 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); ```