We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78cb2f3 + a9b14ec commit 42717c7Copy full SHA for 42717c7
sources/aws-smithy-experimental/src/hyper_1_0.rs
@@ -256,7 +256,8 @@ mod build_connector {
256
}
257
let mut proxy = Proxy::new(intercept, proxy_uri);
258
// Parse https_proxy as URL to extract out auth information if any
259
- let proxy_url = Url::parse(https_proxy).expect("Unable to parse HTTPS proxy as URL");
+ let proxy_url =
260
+ Url::parse(&proxy.uri().to_string()).expect("Unable to parse HTTPS proxy as URL");
261
262
if !proxy_url.username().is_empty() || proxy_url.password().is_some() {
263
proxy.set_authorization(Authorization::basic(
0 commit comments