fix: Proxy example

This commit is contained in:
Abdulla Abdurakhmanov 2026-02-21 16:26:59 +01:00
parent 58527c40c7
commit aada464335
No known key found for this signature in database
GPG key ID: FCDF08B0ECE6E69B

View file

@ -7,7 +7,7 @@ async fn test_proxy_client() -> Result<(), Box<dyn std::error::Error + Send + Sy
let https_connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()?
.https_only()
.enable_http1()
.enable_http2()
.build();
let proxy_uri = "http://proxy.domain.unfortunate.world.example.net:3128"