From e80ded92f59fd1eddfb7abcacca8b65107aa56e5 Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 7 Sep 2020 15:28:58 -0500 Subject: [PATCH] Debug host --- src/requests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/requests.rs b/src/requests.rs index 5c14969..cbc2da6 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -83,6 +83,7 @@ impl Requests { .host() .ok_or(MyError::Host(url.to_string()))? .to_string(); + debug!("Host: {}", host); let res = req .header("Host", host) .header("Accept", accept) @@ -135,6 +136,7 @@ impl Requests { .host() .ok_or(MyError::Host(url.to_string()))? .to_string(); + debug!("Host: {}", host); let res = req .header("Host", host) .header("Accept", "*/*") @@ -202,6 +204,7 @@ impl Requests { .host() .ok_or(MyError::Host(inbox.to_string()))? .to_string(); + debug!("Host: {}", host); let res = req .header("Host", host) .header("Accept", "application/activity+json")