dist/corbel.with-polyfills.js
function(params) {
                var that = this;
                return corbel.request.send(params, that.driver).then(function(response) {

                    that.driver.config.set(corbel.Services._FORCE_UPDATE_STATUS, 0);
                    that.driver.config.set(corbel.Services._UNAUTHORIZED_NUM_RETRIES, 0);

                    return response;

                }).catch(function(response) {
                    // Force update
                    if (response.status === corbel.Services._FORCE_UPDATE_STATUS_CODE &&
                        response.textStatus === corbel.Services._FORCE_UPDATE_TEXT) {

                        var retries = that.driver.config.get(corbel.Services._FORCE_UPDATE_STATUS, 0);
                        if (retries < corbel.Services._FORCE_UPDATE_MAX_RETRIES) {
                            retries++;
                            that.driver.config.set(corbel.Services._FORCE_UPDATE_STATUS, retries);

                            that.driver.trigger('force:update', response);

                            throw response;
                        } else {
                            throw response;
                        }
                    } else {
                        throw response;
                    }

                });
            }
function(params) {
                var that = this;
                return corbel.request.send(params, that.driver).then(function(response) {

                    that.driver.config.set(corbel.Services._FORCE_UPDATE_STATUS, 0);
                    that.driver.config.set(corbel.Services._UNAUTHORIZED_NUM_RETRIES, 0);

                    return response;

                }).catch(function(response) {
                    // Force update
                    if (response.status === corbel.Services._FORCE_UPDATE_STATUS_CODE &&
                        response.textStatus === corbel.Services._FORCE_UPDATE_TEXT) {

                        var retries = that.driver.config.get(corbel.Services._FORCE_UPDATE_STATUS, 0);
                        if (retries < corbel.Services._FORCE_UPDATE_MAX_RETRIES) {
                            retries++;
                            that.driver.config.set(corbel.Services._FORCE_UPDATE_STATUS, retries);

                            that.driver.trigger('force:update', response);

                            throw response;
                        } else {
                            throw response;
                        }
                    } else {
                        throw response;
                    }

                });
            }
function ( params ) { var that = this ; return corbel . request . send ( params , that . driver ) . then ( function ( response ) { that . driver . config . set ( corbel . Services . _FORCE_UPDATE_STATUS , 0 ) ; that . driver . config . set ( corbel . Services . _UNAUTHORIZED_NUM_RETRIES , 0 ) ; return response ; } ) . catch ( function ( response ) { // Force update if ( response . status === corbel . Services . _FORCE_UPDATE_STATUS_CODE && response . textStatus === corbel . Services . _FORCE_UPDATE_TEXT ) { var retries = that . driver . config . get ( corbel . Services . _FORCE_UPDATE_STATUS , 0 ) ; if ( retries < corbel . Services . _FORCE_UPDATE_MAX_RETRIES ) { retries ++ ; that . driver . config . set ( corbel . Services . _FORCE_UPDATE_STATUS , retries ) ; that . driver . trigger ( 'force:update' , response ) ; throw response ; } else { throw response ; } } else { throw response ; } } ) ; }
Internal request method.
Has force update behavior
@param  {object} params
@return {Promise}
Internal request method . Has force update behavior