add native-tls and serde json support

This commit is contained in:
Sean McArthur
2016-10-22 21:48:29 -07:00
parent bfd95e3194
commit 1259128d92
10 changed files with 289 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ fn main() {
println!("GET https://www.rust-lang.org");
let mut res = reqwest::get("http://www.rust-lang.org").unwrap();
let mut res = reqwest::get("https://www.rust-lang.org").unwrap();
println!("Status: {}", res.status());
println!("Headers:\n{}", res.headers());