From 591ed0b41f91e2c688046de68d42115004328a96 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 4 Dec 2014 00:29:15 +0100 Subject: [PATCH] fix HTTPResponse creation --- libmproxy/console/flowview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index 3dceff704..1ec57a4e5 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -574,9 +574,8 @@ class FlowView(common.WWrap): else: if not self.flow.response: self.flow.response = HTTPResponse( - self.flow.request, self.flow.request.httpversion, - 200, "OK", flow.ODictCaseless(), "", None + 200, "OK", flow.ODictCaseless(), "" ) self.flow.response.reply = controller.DummyReply() conn = self.flow.response