diff options
author | Aldo Cortesi <aldo@corte.si> | 2015-08-01 11:38:02 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2015-08-01 11:38:02 +1200 |
commit | 199f2a44fed6b5f1c6fada6c96b981dfab5fded2 (patch) | |
tree | cec2f094e20b2bf204f0420b67ba5774a47c9f50 /test/http/http1/test_protocol.py | |
parent | fb482172241b6235da083f6dbf154b641772a4fc (diff) | |
parent | 7b10817670b30550dd45af48491ed8cf3cacd5e6 (diff) | |
download | mitmproxy-199f2a44fed6b5f1c6fada6c96b981dfab5fded2.tar.gz mitmproxy-199f2a44fed6b5f1c6fada6c96b981dfab5fded2.tar.bz2 mitmproxy-199f2a44fed6b5f1c6fada6c96b981dfab5fded2.zip |
Merge pull request #84 from Kriechi/http2-wip
[WIP] Protocol Refactoring for HTTP/2
Diffstat (limited to 'test/http/http1/test_protocol.py')
-rw-r--r-- | test/http/http1/test_protocol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http/http1/test_protocol.py b/test/http/http1/test_protocol.py index dcebbd5e..b196b7a3 100644 --- a/test/http/http1/test_protocol.py +++ b/test/http/http1/test_protocol.py @@ -297,10 +297,10 @@ class TestReadResponseNoContentLength(tservers.ServerTestBase): def test_read_response(): - def tst(data, method, limit, include_body=True): + def tst(data, method, body_size_limit, include_body=True): data = textwrap.dedent(data) return mock_protocol(data).read_response( - method, limit, include_body=include_body + method, body_size_limit, include_body=include_body ) tutils.raises("server disconnect", tst, "", "GET", None) |