def METHOD_NAME():
    buf = response.read(4096)
    at = 0
    while len(buf) > 0:
        if at >= 4096:
            buf = buf[4096:]
            at -= 4096
        next = buf.find("\n", at)
        if next < 0:
            more = response.read(4096)
            if more:
                buf += more
                continue
            line = buf[at:]
            buf = ""
            at = 0
            yield line
        else:
            line = buf[at:next]
            at = next + 1
            yield line