aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dup_and_replay.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2014-09-07 13:04:18 +1200
committerAldo Cortesi <aldo@corte.si>2014-09-07 13:04:18 +1200
commitbf5fef1e0b52854683984abb9023a395521d003a (patch)
treea437207b26620616d0905d106e3c4972d1f9ef20 /examples/dup_and_replay.py
parentc1438050ed7263872fb64b19fbb06428bd4605ac (diff)
parent3d62e90dbf7ea05283e16752531a261e53a4bb47 (diff)
downloadmitmproxy-bf5fef1e0b52854683984abb9023a395521d003a.tar.gz
mitmproxy-bf5fef1e0b52854683984abb9023a395521d003a.tar.bz2
mitmproxy-bf5fef1e0b52854683984abb9023a395521d003a.zip
Merge pull request #347 from mitmproxy/issue_341
Remove BackReferenceMixin
Diffstat (limited to 'examples/dup_and_replay.py')
-rw-r--r--examples/dup_and_replay.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dup_and_replay.py b/examples/dup_and_replay.py
index 9c58d3a4..b38c2b7e 100644
--- a/examples/dup_and_replay.py
+++ b/examples/dup_and_replay.py
@@ -1,4 +1,4 @@
def request(ctx, flow):
- f = ctx.duplicate_flow(flow)
- f.request.path = "/changed"
- ctx.replay_request(f)
+ f = ctx.duplicate_flow(flow)
+ f.request.path = "/changed"
+ ctx.replay_request(f) \ No newline at end of file