http_req 0.4.2

simple and lightweight HTTP client with built-in HTTPS support
Documentation
# http_req

[![Build Status](https://travis-ci.org/jayjamesjay/http_req.svg?branch=master)](https://travis-ci.org/jayjamesjay/http_req)
[![Crates.io](https://img.shields.io/badge/crates.io-v0.4.2-orange.svg?longCache=true)](https://crates.io/crates/http_req)

Simple and lightweight HTTP client with built-in HTTPS support.
Currently it's in heavy development and may frequently change.

## Requirements

http_req uses [rust-native-tls](https://github.com/sfackler/rust-native-tls),
which uses TLS framework provided by OS on Windows and macOS, and OpenSSL
on all other platforms.

## Example

Basic GET request
```rust
use http_req::request;

fn main() {
    let mut writer = Vec::new(); //container for body of a response
    let res = request::get("https://doc.rust-lang.org/", &mut writer).unwrap();

    println!("Status: {} {}", res.status_code(), res.reason());
}
```

## License

Licensed under [MIT](https://github.com/jayjamesjay/http_req/blob/master/LICENSE).