public function sendResponse($status, $nextUrl, $detail = null)
    {
        $message = "Status=$status\r\nRedirectUrl=$nextUrl";

        if (null !== $detail) {
            $message .= "\r\nStatusDetail=".$detail;
        }

        $this->exitWith($message);
    }