Skip to content

Commit 9fb7cd5

Browse files
authored
fix(client): allow absolute-form if is_proxied is set even on HTTPS (#225)
1 parent 00035ba commit 9fb7cd5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/client/legacy/client.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -909,12 +909,6 @@ fn absolute_form(uri: &mut Uri) {
909909
uri.authority().is_some(),
910910
"absolute_form needs an authority"
911911
);
912-
// If the URI is to HTTPS, and the connector claimed to be a proxy,
913-
// then it *should* have tunneled, and so we don't want to send
914-
// absolute-form in that case.
915-
if uri.scheme() == Some(&Scheme::HTTPS) {
916-
origin_form(uri);
917-
}
918912
}
919913

920914
fn authority_form(uri: &mut Uri) {

0 commit comments

Comments
 (0)