def lines(self, keep_ends=False):
        data = ""
        for chunk in self.chunks():
            data += chunk
            while "\r" in data or "\n" in data:
                cr, lf = data.find("\r"), data.find("\n")
                if cr >= 0 and lf == cr + 1:
                    eol_pos, eol_len = cr, 2
                else:
                    if cr >= 0 and lf >= 0:
                        eol_pos = min(cr, lf)
                    else:
                        eol_pos = cr if cr >= 0 else lf
                    eol_len = 1
                x = eol_pos + eol_len
                if keep_ends:
                    line, data = data[:x], data[x:]
                else:
                    line, data = data[:eol_pos], data[x:]
                yield line
        if data:
            yield data
Returns the default value if the requested data doesn't exist
dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/TextResponse.lines--crossover with--dataset/ETHPy150Open wcong/ants/ants/utils/datatypes.py/MultiValueDict.get