jquery-ajax-retry
jquery-ajax-retry copied to clipboard
Retrying ajax calls using the deferred api
Deprecation Notice:As of jQuery 1.8, the deferred.pipe() method is deprecated. The deferred.then() method, which replaces it, should be used instead.
This plugin doesn't work when project is build with browserify. I've checked how other plugins are solving it ( for example [jquery-mousewheel](https://github.com/jquery/jquery-mousewheel/blob/master/jquery.mousewheel.js#L15) ). Changing this single line works perfectly. However,...
On example, there is only "then" method that will execute if success. Is there any way to execute for fail method.
now it installs a lot heavy deps (phantomjs for example), but they are needed only for dev.
Hi, would it be possible to fall back to the offline storage and send it when the browser/computer has connectivity for retry
I've found that if "context" is specified in Ajax options, they are not preserved during retries. This is because retry uses this expecting to be the original Ajax options, but...
I think when a timeout occurs, the request should be retried no matter what statusCodes are defined. Currently the request is not retried because the status code does not match...
As the jQuery doc say: "**Deprecation Notice**:As of jQuery 1.8, the deferred.pipe() method is deprecated. The deferred.then() method, which replaces it, should be used instead.". I may or may not...
I have a configuration where I add a `retry` to every request globally via `ajaxPrefilter`, for cases where I get timeouts from Heroku. It goes along the lines of: ```...