diff options
| author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-08 17:12:01 +0200 |
|---|---|---|
| committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-15 15:50:44 +0200 |
| commit | b7c8021407965cd97bcc8051ddb0692145401cbf (patch) | |
| tree | 9e287268b5e42d1a6ecf267eaa23344aaeffc715 /libpathod | |
| parent | 18a4456397d0b4b1275ac2c8ab393d041176e949 (diff) | |
| download | mitmproxy-b7c8021407965cd97bcc8051ddb0692145401cbf.tar.gz mitmproxy-b7c8021407965cd97bcc8051ddb0692145401cbf.tar.bz2 mitmproxy-b7c8021407965cd97bcc8051ddb0692145401cbf.zip | |
http2: using http2 implies SSL
Diffstat (limited to 'libpathod')
| -rw-r--r-- | libpathod/pathoc_cmdline.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpathod/pathoc_cmdline.py b/libpathod/pathoc_cmdline.py index fa30aa1e..dcd75d11 100644 --- a/libpathod/pathoc_cmdline.py +++ b/libpathod/pathoc_cmdline.py @@ -198,6 +198,9 @@ def args_pathoc(argv, stdout=sys.stdout, stderr=sys.stderr): if args.http2_skip_connection_preface: args.use_http2 = True + if args.use_http2: + args.ssl = True + reqs = [] for r in args.requests: if os.path.isfile(r): |
