diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-04 12:52:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-04 12:55:09 +0100 |
commit | 89e1fc83443398cec6d49252587e719ed263f326 (patch) | |
tree | b0ea6564f1e2639b4fe1da87ccc179d52987cd12 /src/garage/tests/common/custom_requester.rs | |
parent | 911a83ea7d06143c5a9621f88020ab6c0850ba54 (diff) | |
download | garage-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.rs | 4 |
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> { |