diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-03 14:51:32 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-03 14:51:32 +1300 |
commit | 2cb7429d38243d95664791d3edd7c4894efd6ee9 (patch) | |
tree | e0f0e43515cb1b15c5a5de403814c54f33c62b09 /test/utils.py | |
parent | 7924f0797114dffb6224febc0a533dba8c500c40 (diff) | |
download | mitmproxy-2cb7429d38243d95664791d3edd7c4894efd6ee9.tar.gz mitmproxy-2cb7429d38243d95664791d3edd7c4894efd6ee9.tar.bz2 mitmproxy-2cb7429d38243d95664791d3edd7c4894efd6ee9.zip |
Change "connection" to the less confusing "client_conn" throughout.
Diffstat (limited to 'test/utils.py')
-rw-r--r-- | test/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils.py b/test/utils.py index d07cb658..07145d6b 100644 --- a/test/utils.py +++ b/test/utils.py @@ -2,7 +2,7 @@ from libmproxy import proxy, utils, filt, flow def treq(conn=None): if not conn: - conn = proxy.BrowserConnection("address", 22) + conn = proxy.ClientConnection("address", 22) headers = utils.Headers() headers["header"] = ["qvalue"] return proxy.Request(conn, "host", 80, "http", "GET", "/path", headers, "content") @@ -17,6 +17,6 @@ def tresp(req=None): def tflow(): - bc = proxy.BrowserConnection("address", 22) + bc = proxy.ClientConnection("address", 22) return flow.Flow(bc) |