Compare commits
6 commits
73a9ca3be9
...
0641752a29
Author | SHA1 | Date | |
---|---|---|---|
0641752a29 | |||
f2957b2d67 | |||
52ab5004d0 | |||
f759884517 | |||
782307a856 | |||
0c27a0ee45 |
2 changed files with 1 additions and 7 deletions
|
@ -149,7 +149,6 @@ 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,12 +120,7 @@ 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!(
|
eprintln!("? {} {} {:?}", request.method(), request.url(), request.headers());
|
||||||
"? {} {} {:?}",
|
|
||||||
request.method(),
|
|
||||||
request.url(),
|
|
||||||
request.headers()
|
|
||||||
);
|
|
||||||
let index = plans
|
let index = plans
|
||||||
.lock()
|
.lock()
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue