public function dump()
    {
        $this->_setContentLength();
        header($this->line());
        $headers = $this->headers();
        foreach ($headers as $header) {
            header($header->to('header'));
        }
        if ($headers['Transfer-Encoding']->value() === 'chunked') {
            return;
        }
        if ($this->_stream->isSeekable()) {
            $this->_stream->rewind();
        }
        while (!$this->_stream->eof()) {
            echo $this->_stream->read();
            if (connection_status() !== CONNECTION_NORMAL) {
                break;
            }
        }
    }