diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-04 12:52:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-04 13:02:07 +0100 |
commit | b6a91e549ba8fa9dad8f90fa8b98f282dc211551 (patch) | |
tree | 41a1b45de8fdfa0374e26ceffb7e0536fa0a9050 /src/garage/tests/common | |
parent | 32d6b4def8d14d77727be9af640b1626d5153c75 (diff) | |
download | garage-b6a91e549ba8fa9dad8f90fa8b98f282dc211551.tar.gz garage-b6a91e549ba8fa9dad8f90fa8b98f282dc211551.zip |
[test-presigned] Add API test for presigned requests
Diffstat (limited to 'src/garage/tests/common')
-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 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> { |