Removedheaders just to see something
This commit is contained in:
parent
ef87370066
commit
24f6b6f3c1
@ -13,9 +13,9 @@ pub async fn perform_request<B: Serialize, R: DeserializeOwned>(
|
||||
let mut req_incomplete =
|
||||
client.request(method, format!("{url}{path}", url = base_url, path = path));
|
||||
|
||||
for header in headers {
|
||||
req_incomplete = req_incomplete.header(&header.0, &header.1);
|
||||
}
|
||||
//for header in headers {
|
||||
// req_incomplete = req_incomplete.header(&header.0, &header.1);
|
||||
//}
|
||||
|
||||
let req_complete = match body {
|
||||
Some(b) => req_incomplete.json(&b),
|
||||
|
Loading…
Reference in New Issue
Block a user