mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-30 12:21:58 +00:00
add debug info
This commit is contained in:
@@ -110,11 +110,13 @@ pub async fn call_remote_http(
|
|||||||
req = req.header("accept", "application/json");
|
req = req.header("accept", "application/json");
|
||||||
body = serde_json::to_vec(&req)?;
|
body = serde_json::to_vec(&req)?;
|
||||||
}
|
}
|
||||||
|
dbg!();
|
||||||
let res = req
|
let res = req
|
||||||
.header("content-length", body.len())
|
.header("content-length", body.len())
|
||||||
.body(body)
|
.body(body)
|
||||||
.send()
|
.send()
|
||||||
.await?;
|
.await?;
|
||||||
|
dbg!();
|
||||||
|
|
||||||
match res
|
match res
|
||||||
.headers()
|
.headers()
|
||||||
|
|||||||
Reference in New Issue
Block a user