aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-10 13:27:43 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-10 13:27:43 +1200
commit6ba5f0f35bcd37dbd15e0f7f78da183a802f6193 (patch)
tree03df678908ed62493520a7bf7b0800bd19574bf2 /test/tutils.py
parent52779d9db98dff042a0b2b5dca97440b520367df (diff)
downloadmitmproxy-6ba5f0f35bcd37dbd15e0f7f78da183a802f6193.tar.gz
mitmproxy-6ba5f0f35bcd37dbd15e0f7f78da183a802f6193.tar.bz2
mitmproxy-6ba5f0f35bcd37dbd15e0f7f78da183a802f6193.zip
Add HTTP version to response objects.
Another change in the serialization format.
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tutils.py b/test/tutils.py
index 849b9413..2d6dad1d 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -20,7 +20,7 @@ def tresp(req=None):
req = treq()
headers = flow.ODictCaseless()
headers["header_response"] = ["svalue"]
- return flow.Response(req, 200, "message", headers, "content_response", None)
+ return flow.Response(req, (1, 1), 200, "message", headers, "content_response", None)
def tflow():