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 12:55:09 +0100
commit89e1fc83443398cec6d49252587e719ed263f326 (patch)
treeb0ea6564f1e2639b4fe1da87ccc179d52987cd12 /src/garage/tests/common/custom_requester.rs
parent911a83ea7d06143c5a9621f88020ab6c0850ba54 (diff)
downloadgarage-test-presigned.tar.gz
garage-test-presigned.zip
[test-presigned] Add API test for presigned requeststest-presigned
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 e5f4cca1..4119bd53 100644
--- a/src/garage/tests/common/custom_requester.rs
+++ b/src/garage/tests/common/custom_requester.rs
@@ -61,6 +61,10 @@ impl CustomRequester {
vhost_style: false,
}
}
+
+ pub fn client(&self) -> &Client<HttpConnector, Body> {
+ &self.client
+ }
}
pub struct RequestBuilder<'a> {