Compare commits
6 commits
0641752a29
...
73a9ca3be9
Author | SHA1 | Date | |
---|---|---|---|
73a9ca3be9 | |||
d987da320b | |||
d52ab2df2e | |||
7da221bfde | |||
a84643e6ae | |||
711c76a600 |
2 changed files with 7 additions and 1 deletions
|
@ -149,6 +149,7 @@ pub use result::{Error, Result};
|
||||||
pub use system::{MockNet, Net};
|
pub use system::{MockNet, Net};
|
||||||
|
|
||||||
pub use http::HeaderMap;
|
pub use http::HeaderMap;
|
||||||
|
pub use http::Method;
|
||||||
pub use http::StatusCode;
|
pub use http::StatusCode;
|
||||||
pub use reqwest::Client;
|
pub use reqwest::Client;
|
||||||
pub use reqwest::Error as RequestError;
|
pub use reqwest::Error as RequestError;
|
||||||
|
|
|
@ -120,7 +120,12 @@ impl Net {
|
||||||
return request.into().send().await.map_err(Error::from);
|
return request.into().send().await.map_err(Error::from);
|
||||||
};
|
};
|
||||||
let request = request.into().build()?;
|
let request = request.into().build()?;
|
||||||
eprintln!("? {} {} {:?}", request.method(), request.url(), request.headers());
|
eprintln!(
|
||||||
|
"? {} {} {:?}",
|
||||||
|
request.method(),
|
||||||
|
request.url(),
|
||||||
|
request.headers()
|
||||||
|
);
|
||||||
let index = plans
|
let index = plans
|
||||||
.lock()
|
.lock()
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue