diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:33 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:33 +0200 |
commit | 906360f63f2afb4991dd2b38528798ad4efd0618 (patch) | |
tree | a89f2d2d1a768f85ea604589ade4df85b7c09d22 /test/test_dump.py | |
parent | 12984f149cab1308b97b5ae1bdbe375787057e7e (diff) | |
download | mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.tar.gz mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.tar.bz2 mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.zip |
code -> status_code, httpversion -> http_version
Diffstat (limited to 'test/test_dump.py')
-rw-r--r-- | test/test_dump.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_dump.py b/test/test_dump.py index 9d177ea0..56d3edd2 100644 --- a/test/test_dump.py +++ b/test/test_dump.py @@ -40,13 +40,13 @@ def test_strfuncs(): flow.client_conn.address.host = "foo" flow.response = netlib.tutils.tresp(body=CONTENT_MISSING) flow.response.is_replay = True - flow.response.code = 300 + flow.response.status_code = 300 m.echo_flow(flow) flow = tutils.tflow(resp=netlib.tutils.tresp(body="{")) flow.response.headers["content-type"] = "application/json" - flow.response.code = 400 + flow.response.status_code = 400 m.echo_flow(flow) |