aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-27 16:22:25 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-27 16:22:25 +1200
commit49dedd361c887ee1aae5b40c881d54d00b30e870 (patch)
tree16667c96c78e6c8958597672eb6eedd6f1e67252 /libmproxy/proxy.py
parentdd55a3e0b60e4cfe5e194a57076340628e5cee9c (diff)
downloadmitmproxy-49dedd361c887ee1aae5b40c881d54d00b30e870.tar.gz
mitmproxy-49dedd361c887ee1aae5b40c881d54d00b30e870.tar.bz2
mitmproxy-49dedd361c887ee1aae5b40c881d54d00b30e870.zip
Fix replay.
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 2f38f3af..bbccb713 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -57,7 +57,7 @@ class RequestReplayThread(threading.Thread):
server.rfile, r.method, self.config.body_size_limit
)
response = flow.Response(
- request, httpversion, code, msg, headers, content, server.cert
+ self.flow.request, httpversion, code, msg, headers, content, server.cert
)
response._send(self.masterq)
except (ProxyError, http.HttpError), v: