Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proxy
Body::collect_bytes
for easier unit tests (#1445)
* Expose `Body::collect` for easier unit tests Avoids people having to pull in `http_body_util` for the `BodyExt` Signed-off-by: clux <[email protected]> * avoid opaque Collect and Collected and await + into_bytes instead Signed-off-by: clux <[email protected]> * Update kube-client/src/client/body.rs Co-authored-by: Matei David <[email protected]> Signed-off-by: Eirik A <[email protected]> * Update kube-client/src/client/body.rs Co-authored-by: Matei David <[email protected]> Signed-off-by: Eirik A <[email protected]> --------- Signed-off-by: clux <[email protected]> Signed-off-by: Eirik A <[email protected]> Co-authored-by: Matei David <[email protected]>
- Loading branch information