fix HTTPResponse creation

This commit is contained in:
Maximilian Hils 2014-12-04 00:29:15 +01:00
parent a7a9ef826c
commit 591ed0b41f

View File

@ -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