diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-05-29 11:03:54 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-05-29 11:03:54 +0200 |
commit | c707479bcd5a8ebb5d6bc8f54a5879176db46b3a (patch) | |
tree | 8fb49cb2bfa2f68b2841f2a4028c91eb781e4587 /examples/tcp_message.py | |
parent | 979c7fc319cbf551b9ea14062387f195b208b8fa (diff) | |
parent | 17382b963e22de8cb395a99e529b256e03d440ce (diff) | |
download | mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.tar.gz mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.tar.bz2 mitmproxy-c707479bcd5a8ebb5d6bc8f54a5879176db46b3a.zip |
Merge pull request #1173 from mitmproxy/format-examples
Format examples
Diffstat (limited to 'examples/tcp_message.py')
-rw-r--r-- | examples/tcp_message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tcp_message.py b/examples/tcp_message.py index c63368e4..52471ae9 100644 --- a/examples/tcp_message.py +++ b/examples/tcp_message.py @@ -10,6 +10,7 @@ mitmdump -T --host --tcp ".*" -q -s examples/tcp_message.py ''' from netlib.utils import clean_bin + def tcp_message(ctx, tcp_msg): modified_msg = tcp_msg.message.replace("foo", "bar") |