diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-10 13:27:43 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-10 13:27:43 +1200 |
commit | 6ba5f0f35bcd37dbd15e0f7f78da183a802f6193 (patch) | |
tree | 03df678908ed62493520a7bf7b0800bd19574bf2 /test/tutils.py | |
parent | 52779d9db98dff042a0b2b5dca97440b520367df (diff) | |
download | mitmproxy-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.py | 2 |
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(): |