aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-04-02 22:54:46 +0200
committerMaximilian Hils <git@maximilianhils.com>2016-04-02 22:54:46 +0200
commit35a6d6e7f67f8253a32a670a4629b530d7758650 (patch)
tree4dd7e1abd69c9ee2559d45fbdc3bfee4f8167039 /test/netlib/http
parenta267934d99e2e5d561a71ee3bc3944ddb6f6ce53 (diff)
downloadmitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.tar.gz
mitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.tar.bz2
mitmproxy-35a6d6e7f67f8253a32a670a4629b530d7758650.zip
response.msg -> response.reason
Diffstat (limited to 'test/netlib/http')
-rw-r--r--test/netlib/http/http2/test_connections.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/netlib/http/http2/test_connections.py b/test/netlib/http/http2/test_connections.py
index c067d487..0a142afa 100644
--- a/test/netlib/http/http2/test_connections.py
+++ b/test/netlib/http/http2/test_connections.py
@@ -417,7 +417,7 @@ class TestReadResponse(tservers.ServerTestBase):
assert resp.http_version == "HTTP/2.0"
assert resp.status_code == 200
- assert resp.msg == ''
+ assert resp.reason == ''
assert resp.headers.fields == [[b':status', b'200'], [b'etag', b'foobar']]
assert resp.content == b'foobar'
assert resp.timestamp_end
@@ -444,7 +444,7 @@ class TestReadEmptyResponse(tservers.ServerTestBase):
assert resp.stream_id == 42
assert resp.http_version == "HTTP/2.0"
assert resp.status_code == 200
- assert resp.msg == ''
+ assert resp.reason == ''
assert resp.headers.fields == [[b':status', b'200'], [b'etag', b'foobar']]
assert resp.content == b''