add support for defining RedirectPolicy for a Client

This commit is contained in:
Sean McArthur
2016-12-10 11:36:22 -08:00
parent 6ef73ae206
commit e92b3e862a
5 changed files with 250 additions and 24 deletions

View File

@@ -108,10 +108,12 @@ pub use url::ParseError as UrlError;
pub use self::client::{Client, Response, RequestBuilder};
pub use self::error::{Error, Result};
pub use self::body::Body;
pub use self::redirect::RedirectPolicy;
mod body;
mod client;
mod error;
mod redirect;
mod tls;