code: public function clear()
      {
          $this->_headers = null;
          $this->_cookies = null;
          $this->_statusCode = 200;
          $this->statusText = 'OK';
          $this->data = null;
          $this->stream = null;
          $this->content = null;
          $this->isSent = false;
      }
docs: Clears the headers, cookies, content, status code of the response.