CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/johnkpaul/jquery-ajax-retry/master/dist/jquery.ajax-retry.min.js
accept-ranges: bytes
age: 0
date: Sun, 27 Jul 2025 17:24:59 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210034-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753637098.932502,VS0,VE1296
vary: Accept-Encoding
x-fastly-request-id: 675ae157e41e7e89c7dd2dbb222df0e6fe57787d
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"466d3a098fb86136b4c9816f21ae901d3e4b894d0d9c8ff5e212e42c67be488d"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 8C9C:08E8:DA89C:1E9CD2:688660EB
content-encoding: gzip
accept-ranges: bytes
date: Sun, 27 Jul 2025 17:24:59 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210060-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753637099.300057,VS0,VE277
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: cd7885684cc4ce1bcc7f3074a280b3d942426f36
expires: Sun, 27 Jul 2025 17:29:59 GMT
source-age: 0
content-length: 447
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b,c){var d=c.times,e=b.timeout;return function(f){function g(){a.ajax(h).retry({times:d-1,timeout:c.timeout,statusCodes:c.statusCodes}).pipe(i.resolve,i.reject)}var h=this,i=new a.Deferred,j=b.getResponseHeader("Retry-After");return d>1&&(!b.statusCodes||a.inArray(f.status,b.statusCodes)>-1)?(j&&(e=isNaN(j)?new Date(j).getTime()-a.now():1e3*parseInt(j,10),(isNaN(e)||0>e)&&(e=b.timeout)),void 0!==e?setTimeout(g,e):g()):i.rejectWith(this,arguments),i}}a.ajaxPrefilter(function(a,c,d){d.retry=function(a){return a.timeout&&(this.timeout=a.timeout),a.statusCodes&&(this.statusCodes=a.statusCodes),this.pipe(null,b(this,a))}})});