forked from mirrors/relay
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()
|
||||
.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")
|
||||
|
|
Loading…
Reference in a new issue