api_client: use Option::map in get_headerIt's more idiomatic Rust, and satisfies nightly clippy.Signed-off-by: Gaelan Steele <gbs@canishe.com>
api_client: Address Rust 1.51.0 clippy issue (upper_case_acroynms) --> api_client/src/lib.rs:40:5 |40 | OK, | ^^ help: consider making the acronym lowercase, except the initial lett
api_client: Address Rust 1.51.0 clippy issue (upper_case_acroynms) --> api_client/src/lib.rs:40:5 |40 | OK, | ^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Ok` | = note: `-D clippy::upper-case-acronyms` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronymsSigned-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
ch-remote, api_client: Split HTTP/API client code into new crateSplit out the HTTP request handling code from ch-remote into a newcrate which can be used in other places where talking to the API s
ch-remote, api_client: Split HTTP/API client code into new crateSplit out the HTTP request handling code from ch-remote into a newcrate which can be used in other places where talking to the API serverby HTTP is necessary.Signed-off-by: Rob Bradford <robert.bradford@intel.com>
12