enable hyper's no_proto config
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -133,6 +133,7 @@ impl ClientBuilder {
|
||||
|
||||
let hyper_client = ::hyper::Client::configure()
|
||||
.connector(connector)
|
||||
.no_proto()
|
||||
.build(handle);
|
||||
|
||||
Ok(Client {
|
||||
|
||||
Reference in New Issue
Block a user