diff options
author | Rouli <rouli.net@gmail.com> | 2013-03-18 14:24:13 +0200 |
---|---|---|
committer | Rouli <rouli.net@gmail.com> | 2013-03-18 14:24:13 +0200 |
commit | c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f (patch) | |
tree | 1e62785d669d86f6e551a99b9debfe445389bd48 /examples/iframe_injector | |
parent | b6cae7cd2d0105d6a6fe9d35864d0f9b7c5f8924 (diff) | |
parent | 5c33f6784b4ba34dd9825ea7e3070cdf0b2b4621 (diff) | |
download | mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.gz mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.bz2 mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'examples/iframe_injector')
-rwxr-xr-x | examples/iframe_injector | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/iframe_injector b/examples/iframe_injector index 6dd28674..8b1e02f1 100755 --- a/examples/iframe_injector +++ b/examples/iframe_injector @@ -23,14 +23,14 @@ class InjectingMaster(controller.Master): def handle_request(self, msg): if 'Accept-Encoding' in msg.headers: msg.headers["Accept-Encoding"] = 'none' - msg._ack() + msg.reply() def handle_response(self, msg): if msg.content: c = msg.replace('<body>', '<body><iframe src="%s" frameborder="0" height="0" width="0"></iframe>' % self._iframe_url) if c > 0: print 'Iframe injected!' - msg._ack() + msg.reply() def main(argv): |