private function writeStatus()
    {
        $string = $this->response->getProtocolVersion() . ' ' . $this->response->getStatusCode() . ' ' . $this->response->getReasonPhrase();
        header($string, true, $this->response->getStatusCode());
    }