aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/flow.py')
-rw-r--r--libmproxy/flow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 9aa2a179..eb8ee16a 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -242,7 +242,7 @@ class ServerPlaybackState:
]
if not self.ignore_content:
- form_contents = r.get_form_urlencoded()
+ form_contents = r.get_form()
if self.ignore_payload_params and form_contents:
key.extend(
p for p in form_contents
@@ -775,6 +775,8 @@ class FlowMaster(controller.Master):
if all(e):
self.shutdown()
self.client_playback.tick(self)
+ if self.client_playback.done():
+ self.client_playback = None
return super(FlowMaster, self).tick(q, timeout)