diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-11-11 14:00:56 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-11-11 14:00:56 +1300 |
commit | 5873516d991e5d04b565b93f95137e1cb2158aca (patch) | |
tree | db911714493db7495909dcbeedf3c49f9b677970 /examples/change_upstream_proxy.py | |
parent | ec17e70d9e82bc6ae62300397b2f849c2d8dcc85 (diff) | |
parent | 6f3b4eee3c3e30b391be457e38fb5ac67f8ef682 (diff) | |
download | mitmproxy-5873516d991e5d04b565b93f95137e1cb2158aca.tar.gz mitmproxy-5873516d991e5d04b565b93f95137e1cb2158aca.tar.bz2 mitmproxy-5873516d991e5d04b565b93f95137e1cb2158aca.zip |
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
Diffstat (limited to 'examples/change_upstream_proxy.py')
-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) |