diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-11-10 15:51:26 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-11-10 15:51:26 +0100 |
commit | 476d7da17c7d22415cbd16b625ba8e443a750f0f (patch) | |
tree | 3073cf3d46b5fcab42cac7e5518dcdc70dcbe9e9 /examples | |
parent | 4d090e09c7b6440176a22b541e37a0b1a0a08570 (diff) | |
download | mitmproxy-476d7da17c7d22415cbd16b625ba8e443a750f0f.tar.gz mitmproxy-476d7da17c7d22415cbd16b625ba8e443a750f0f.tar.bz2 mitmproxy-476d7da17c7d22415cbd16b625ba8e443a750f0f.zip |
update change_upstream_proxy example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/change_upstream_proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/change_upstream_proxy.py b/examples/change_upstream_proxy.py index e063ca4f..74a43bd0 100644 --- a/examples/change_upstream_proxy.py +++ b/examples/change_upstream_proxy.py @@ -1,7 +1,7 @@ -# This scripts demonstrates how mitmproxy can switch to a different upstream proxy +# This scripts demonstrates how mitmproxy can switch to a second/different upstream proxy # in upstream proxy mode. # -# Usage: mitmdump -s "change_upstream_proxy.py host" +# Usage: mitmdump -U http://default-upstream-proxy.local:8080/ -s "change_upstream_proxy.py host" from libmproxy.protocol.http import send_connect_request alternative_upstream_proxy = ("localhost", 8082) |