update change_upstream_proxy example

This commit is contained in:
Maximilian Hils 2014-11-10 15:51:26 +01:00
parent 4d090e09c7
commit 476d7da17c
1 changed files with 2 additions and 2 deletions

View File

@ -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)