summaryrefslogtreecommitdiff
path: root/tests/option_constants_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/option_constants_test.py')
-rw-r--r--tests/option_constants_test.py6
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()