@staticmethod
    def data_to_list(data):
        split_lines = data.split('\n')[:-1]
        return [line.decode('utf-8').strip() for line in split_lines]
Verify that the response is OK
dataset/ETHPy150Open NervanaSystems/neon/neon/data/questionanswer.py/BABI.data_to_list--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/client_base.py/Base.parse_authn_query_response