if (options !== undefined) {
        Object.assign(response, options);

        if (options.status) {
            statusCode = options.status;