aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/common/custom_requester.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-04 12:52:33 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-04 13:02:07 +0100
commitb6a91e549ba8fa9dad8f90fa8b98f282dc211551 (patch)
tree41a1b45de8fdfa0374e26ceffb7e0536fa0a9050 /src/garage/tests/common/custom_requester.rs
parent32d6b4def8d14d77727be9af640b1626d5153c75 (diff)
downloadgarage-b6a91e549ba8fa9dad8f90fa8b98f282dc211551.tar.gz
garage-b6a91e549ba8fa9dad8f90fa8b98f282dc211551.zip
[test-presigned] Add API test for presigned requests
Diffstat (limited to 'src/garage/tests/common/custom_requester.rs')
-rw-r--r--src/garage/tests/common/custom_requester.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/garage/tests/common/custom_requester.rs b/src/garage/tests/common/custom_requester.rs
index 2cac5cd5..8e1eaa56 100644
--- a/src/garage/tests/common/custom_requester.rs
+++ b/src/garage/tests/common/custom_requester.rs
@@ -64,6 +64,10 @@ impl CustomRequester {
vhost_style: false,
}
}
+
+ pub fn client(&self) -> &Client<HttpConnector, Body> {
+ &self.client
+ }
}
pub struct RequestBuilder<'a> {