minihttp is a simple and lightweight http client lib for rust. only provide basic http client feature, more like python request. minihttp's aim is simple, easy to use, less dependent, smaller binary. Enjoy yourself...
#Example
send a get request
use Request;
let mut http = new.unwrap;
let res = http.get.send.unwrap;
println!;
println!;
println!;
for in res.headers
send a post request
use Request;
let mut http = new.unwrap;
let res = http.post.body_str.send.unwrap;
println!;
custom headers
use HashMap;
use Request;
let mut http = new.unwrap;
let mut headers = new;
headers.insert;
let res = http.headers.send.unwrap;
println!;
support https
use Request;
let mut http = new.unwrap;
let res = http.get.send.unwrap;
println!;
support proxy
use Request;
let mut http = new.unwrap;
let res = http.proxy.unwrap.get.send.unwrap;
println!;