protected function getStatusText()
    {
        $code = $this->statusCode;
        if (empty($code)) {
            $code = 200;
        }

        return "HTTP/1.1 $code " . $this->getHttpResponseMessage($code);
    }