aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
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: