diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-01-28 17:26:35 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-01-28 17:26:35 +0100 |
commit | 763cb90b66b23cd94b6e37df3d4c7b8e7f89492a (patch) | |
tree | e7bf4881f6256c778994137ea3f54edd24752629 /test/test_http.py | |
parent | 71c1017575c6cb3468b6849cbe4f6dce5fbfcb44 (diff) | |
download | mitmproxy-763cb90b66b23cd94b6e37df3d4c7b8e7f89492a.tar.gz mitmproxy-763cb90b66b23cd94b6e37df3d4c7b8e7f89492a.tar.bz2 mitmproxy-763cb90b66b23cd94b6e37df3d4c7b8e7f89492a.zip |
add tcp.Address to unify ipv4/ipv6 address handling
Diffstat (limited to 'test/test_http.py')
-rw-r--r-- | test/test_http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_http.py b/test/test_http.py index a0386115..e80e4b8f 100644 --- a/test/test_http.py +++ b/test/test_http.py @@ -223,7 +223,7 @@ class TestReadResponseNoContentLength(test.ServerTestBase): handler = NoContentLengthHTTPHandler def test_no_content_length(self): - c = tcp.TCPClient("127.0.0.1", self.port) + c = tcp.TCPClient(("127.0.0.1", self.port)) c.connect() httpversion, code, msg, headers, content = http.read_response(c.rfile, "GET", None) assert content == "bar\r\n\r\n" |