Skip to content

Commit

Permalink
Trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Threated committed Dec 19, 2023
1 parent ad32718 commit 22dfea2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/logic_ask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ pub(crate) async fn handler_http(
let method = req.method().to_owned();
let uri = req.uri().to_owned();

let host_header_auth = req.headers().get(header::HOST).and_then(|v| v.to_str().ok()).and_then(|v| Authority::from_str(v).ok());
let host_header_auth = req.headers()
.get(header::HOST)
.and_then(|v| v.to_str().ok())
.and_then(|v| dbg!(Authority::from_str(v)).ok());
let authority = https_authority
.as_ref()
.or(uri.authority());
Expand Down

0 comments on commit 22dfea2

Please sign in to comment.