private function body(ResponseInterface $response): ResponseInterface
        {
            if (!in_array($response->getStatusCode(), $this->responseIsEmpty)) {
                
                $stream = $response->getBody();
                if ($stream->isSeekable()) {
                    $stream->rewind();
                }

                $bufferLenght = (!$response->getHeaderLine('Content-Length')) ? $stream->getSize() : $response->getHeaderLine('Content-Length');
                if (isset($bufferLenght)) {
                    $lengthToRead = $bufferLenght;
                    while ($lengthToRead > 0 && !$stream->eof()) {
                        $data = $stream->read(min($this->sizeLimit, $lengthToRead));
                        echo $data;
                        $lengthToRead -= strlen($data);
                    }
                } else {
                    while (!$stream->eof()) {
                        echo $stream->read($this->size);
                    }
                }

            }
            return $response;
        }