From 49dedd361c887ee1aae5b40c881d54d00b30e870 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 27 Jun 2012 16:22:25 +1200 Subject: [PATCH] Fix replay. --- libmproxy/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 2f38f3af8..bbccb713d 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: