We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c7ed3e + 55d0ab9 commit 47f8273Copy full SHA for 47f8273
1 file changed
src/flow.js
@@ -1302,8 +1302,9 @@
1302
// or 'LOADING' - meaning that stuff is happening
1303
return 'uploading';
1304
} else {
1305
- if (this.xhr.status == 200) {
+ if (this.xhr.status == 200 || this.xhr.status == 202) {
1306
// HTTP 200, perfect
1307
+ // HTTP 202 Accepted - The request has been accepted for processing, but the processing has not been completed.
1308
return 'success';
1309
} else if (this.flowObj.opts.permanentErrors.indexOf(this.xhr.status) > -1 ||
1310
this.retries >= this.flowObj.opts.maxChunkRetries) {
0 commit comments