def _handle_v4_chunk_signatures(self, body, content_length):
    body_io = io.BytesIO(body)
    new_body = bytearray(content_length)
    pos = 0
    line = body_io.readline()
    while line:
        chunk_size = int(line[:line.find(b';')].decode('utf8'), 16)
        new_body[pos:(pos + chunk_size)] = body_io.read(chunk_size)
        pos = (pos + chunk_size)
        body_io.read(2)
        line = body_io.readline()
    return bytes(new_body)
def _handle_v4_chunk_signatures(self, body, content_length):
    body_io = io.BytesIO(body)
    new_body = bytearray(content_length)
    pos = 0
    line = body_io.readline()
    while line:
        chunk_size = int(line[:line.find(b';')].decode('utf8'), 16)
        new_body[pos:(pos + chunk_size)] = body_io.read(chunk_size)
        pos = (pos + chunk_size)
        body_io.read(2)
        line = body_io.readline()
    return bytes(new_body)