From 47f5ca41c5a1dbafdb2574def7bc71a02160dd25 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 4 Aug 2017 17:22:12 +0200 Subject: [PATCH] re-add --http2 switch I think this is one of the more important ones we should not omit, e.g. as `--no-http2` is still needed for scripted redirection. --- mitmproxy/tools/cmdline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/tools/cmdline.py b/mitmproxy/tools/cmdline.py index 68ddc2c8e..93ce6f248 100644 --- a/mitmproxy/tools/cmdline.py +++ b/mitmproxy/tools/cmdline.py @@ -73,6 +73,7 @@ def common_options(parser, opts): opts.make_parser(group, "upstream_auth", metavar="USER:PASS") opts.make_parser(group, "proxyauth", metavar="SPEC") opts.make_parser(group, "rawtcp") + opts.make_parser(group, "http2") # Proxy SSL options group = parser.add_argument_group("SSL")