From de38accb520fa224d7ea90122d6bf71d2827f16e Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 30 Jan 2023 23:05:24 -0500 Subject: Add CURLOPT_AWS_SIGV4 option Fixes #785. --- tests/option_constants_test.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py index 4698e3d..7b94164 100644 --- a/tests/option_constants_test.py +++ b/tests/option_constants_test.py @@ -399,6 +399,12 @@ class OptionConstantsTest(unittest.TestCase): curl.setopt(curl.PROXY_TLS13_CIPHERS, 'TLS_CHACHA20_POLY1305_SHA256') curl.close() + @util.min_libcurl(7, 75, 0) + def test_aws_sigv4(self): + curl = pycurl.Curl() + curl.setopt(curl.AWS_SIGV4, 'provider1:provider2') + curl.close() + class OptionConstantsSettingTest(unittest.TestCase): def setUp(self): self.curl = pycurl.Curl() -- cgit v1.2.1