diff options
author | Scott Talbert <swt@techie.net> | 2022-07-24 18:31:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 18:31:35 -0400 |
commit | f2153f63566d747975ed1532b874b311d7f3b86f (patch) | |
tree | 7c4b29615088427120ea44ebb1ed7b6bb061dd3f /tests/option_constants_test.py | |
parent | b0c938de7be67e3c76b0f7c3a97009080373f9af (diff) | |
parent | 25dc199accf79f788b045016357f1e7eb45fd9e9 (diff) | |
download | pycurl-f2153f63566d747975ed1532b874b311d7f3b86f.tar.gz |
Merge pull request #763 from swt2c/add_http09_allowed
Add HTTP09_ALLOWED option
Diffstat (limited to 'tests/option_constants_test.py')
-rw-r--r-- | tests/option_constants_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py index 9eda4e3..0f9b5a0 100644 --- a/tests/option_constants_test.py +++ b/tests/option_constants_test.py @@ -373,6 +373,12 @@ class OptionConstantsTest(unittest.TestCase): curl.setopt(curl.SSL_OPTIONS, curl.SSLOPT_NO_REVOKE) curl.close() + @util.min_libcurl(7, 64, 0) + def test_http09_allowed_option(self): + curl = pycurl.Curl() + curl.setopt(curl.HTTP09_ALLOWED, 1) + curl.close() + class OptionConstantsSettingTest(unittest.TestCase): def setUp(self): self.curl = pycurl.Curl() |