Skip to content

Commit 3ae086d

Browse files
committed
handle Success status better
* added missing 204 to successstatuses. * this is to make library handle success better because some service will return 204 status by default.
1 parent 538524c commit 3ae086d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
maxChunkRetries: 0,
101101
chunkRetryInterval: null,
102102
permanentErrors: [404, 413, 415, 500, 501],
103-
successStatuses: [200, 201, 202],
103+
successStatuses: [200, 201, 202, 204],
104104
onDropStopPropagation: false,
105105
initFileFn: null,
106106
readFileFn: webAPIFileRead

0 commit comments

Comments
 (0)