Skip to content

Commit

Permalink
feat(hyper-rustls): default hyper client support https and http
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Seguin committed May 27, 2022
1 parent 253528a commit 0944870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authenticator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ impl HyperClientBuilder for DefaultHyperClient {
#[cfg(feature = "hyper-rustls")]
let connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.https_only()
.https_or_http()
.enable_http1()
.enable_http2()
.build();
Expand Down

0 comments on commit 0944870

Please sign in to comment.