aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-08-04 17:22:12 +0200
committerMaximilian Hils <git@maximilianhils.com>2017-08-05 00:40:49 +0200
commit47f5ca41c5a1dbafdb2574def7bc71a02160dd25 (patch)
treed2ff2eb6dea9074dcf6714e6c4c049f9489125f5
parentcfd8f8b5190ded64d82f9c3c23e02d689489d08d (diff)
downloadmitmproxy-47f5ca41c5a1dbafdb2574def7bc71a02160dd25.tar.gz
mitmproxy-47f5ca41c5a1dbafdb2574def7bc71a02160dd25.tar.bz2
mitmproxy-47f5ca41c5a1dbafdb2574def7bc71a02160dd25.zip
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.
-rw-r--r--mitmproxy/tools/cmdline.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/tools/cmdline.py b/mitmproxy/tools/cmdline.py
index 68ddc2c8..93ce6f24 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")