mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-20 00:21:03 +00:00
Debug host
This commit is contained in:
parent
b6e25df717
commit
e80ded92f5
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@ impl Requests {
|
||||||
.host()
|
.host()
|
||||||
.ok_or(MyError::Host(url.to_string()))?
|
.ok_or(MyError::Host(url.to_string()))?
|
||||||
.to_string();
|
.to_string();
|
||||||
|
debug!("Host: {}", host);
|
||||||
let res = req
|
let res = req
|
||||||
.header("Host", host)
|
.header("Host", host)
|
||||||
.header("Accept", accept)
|
.header("Accept", accept)
|
||||||
|
@ -135,6 +136,7 @@ impl Requests {
|
||||||
.host()
|
.host()
|
||||||
.ok_or(MyError::Host(url.to_string()))?
|
.ok_or(MyError::Host(url.to_string()))?
|
||||||
.to_string();
|
.to_string();
|
||||||
|
debug!("Host: {}", host);
|
||||||
let res = req
|
let res = req
|
||||||
.header("Host", host)
|
.header("Host", host)
|
||||||
.header("Accept", "*/*")
|
.header("Accept", "*/*")
|
||||||
|
@ -202,6 +204,7 @@ impl Requests {
|
||||||
.host()
|
.host()
|
||||||
.ok_or(MyError::Host(inbox.to_string()))?
|
.ok_or(MyError::Host(inbox.to_string()))?
|
||||||
.to_string();
|
.to_string();
|
||||||
|
debug!("Host: {}", host);
|
||||||
let res = req
|
let res = req
|
||||||
.header("Host", host)
|
.header("Host", host)
|
||||||
.header("Accept", "application/activity+json")
|
.header("Accept", "application/activity+json")
|
||||||
|
|
Loading…
Reference in a new issue