From b7c8021407965cd97bcc8051ddb0692145401cbf Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Mon, 8 Jun 2015 17:12:01 +0200 Subject: http2: using http2 implies SSL --- test/test_pathoc_cmdline.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_pathoc_cmdline.py') diff --git a/test/test_pathoc_cmdline.py b/test/test_pathoc_cmdline.py index 03c83844..6c070aed 100644 --- a/test/test_pathoc_cmdline.py +++ b/test/test_pathoc_cmdline.py @@ -31,9 +31,11 @@ def test_pathoc(perror): a = cmdline.args_pathoc(["pathoc", "foo.com", "get:/", "--http2"]) assert a.use_http2 == True + assert a.ssl == True a = cmdline.args_pathoc(["pathoc", "foo.com", "get:/", "--http2-skip-connection-preface"]) assert a.use_http2 == True + assert a.ssl == True assert a.http2_skip_connection_preface == True a = cmdline.args_pathoc(["pathoc", "-c", "foo", "foo.com:8888", "get:/"]) -- cgit v1.2.3