aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-10 10:46:22 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-10 10:46:22 +1200
commit55ddf853cd8cac13bb6021ef92d21af85cb9b2f1 (patch)
treeb1c15c915076c80a27eaa97d3027c4a13c9fbeb8 /test/tutils.py
parenta3b47e0cb59205fd2512e96ae9058e371c8a5760 (diff)
downloadmitmproxy-55ddf853cd8cac13bb6021ef92d21af85cb9b2f1.tar.gz
mitmproxy-55ddf853cd8cac13bb6021ef92d21af85cb9b2f1.tar.bz2
mitmproxy-55ddf853cd8cac13bb6021ef92d21af85cb9b2f1.zip
Add HTTP version to flow.Request
This is a serialization format change, that makes us incompatible with previous versions.
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 5f4739c6..7852a8b8 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -12,7 +12,7 @@ def treq(conn=None):
conn = flow.ClientConnect(("address", 22))
headers = flow.ODictCaseless()
headers["header"] = ["qvalue"]
- return flow.Request(conn, "host", 80, "http", "GET", "/path", headers, "content")
+ return flow.Request(conn, (1, 1), "host", 80, "http", "GET", "/path", headers, "content")
def tresp(req=None):