diff --git a/Cargo.toml b/Cargo.toml index feb3dc3..70c94fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ categories = ["web-programming::http-client"] [dependencies] bytes = "0.4" futures = "0.1.15" -hyper = "0.11" +hyper = "0.11.9" hyper-tls = "0.1.2" libflate = "0.1.11" log = "0.3" diff --git a/src/async_impl/client.rs b/src/async_impl/client.rs index 9d1d57c..16204f7 100644 --- a/src/async_impl/client.rs +++ b/src/async_impl/client.rs @@ -133,6 +133,7 @@ impl ClientBuilder { let hyper_client = ::hyper::Client::configure() .connector(connector) + .no_proto() .build(handle); Ok(Client {