From 1b6ea5caf3ab7c30cc4a822b81ad8288efbae70d Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 26 Sep 2015 17:41:14 +0200 Subject: adjust to netlib response changes + docs --- test/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_server.py') diff --git a/test/test_server.py b/test/test_server.py index 2a09d2e5..9488595f 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -616,7 +616,7 @@ class MasterRedirectRequest(tservers.TestMaster): super(MasterRedirectRequest, self).handle_request(f) def handle_response(self, f): - f.response.body = str(f.client_conn.address.port) + f.response.content = str(f.client_conn.address.port) f.response.headers["server-conn-id"] = str(f.server_conn.source_address.port) super(MasterRedirectRequest, self).handle_response(f) -- cgit v1.2.3