@gen_test
    def test_future_interface(self):
        stream = self._make_client_iostream()
        connect_result = yield stream.connect(
            ("localhost", self.get_http_port()))
        self.assertIs(connect_result, stream)
        yield stream.write(b"GET / HTTP/1.0\r\n\r\n")
        first_line = yield stream.read_until(b"\r\n")
        self.assertEqual(first_line, b"HTTP/1.0 200 OK\r\n")
        # callback=None is equivalent to no callback.
        header_data = yield stream.read_until(b"\r\n\r\n", callback=None)
        headers = HTTPHeaders.parse(header_data.decode('latin1'))
        content_length = int(headers['Content-Length'])
        body = yield stream.read_bytes(content_length)
        self.assertEqual(body, b'Hello')
        stream.close()
Returns the IP address to use for httpproxy.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/test/iostream_test.py/TestIOStreamWebMixin.test_future_interface--crossover with--dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/_BasePlatformSettings.get_httpproxy_ip_address