jszip-utils
jszip-utils copied to clipboard
HTTP Status Code 201 (Created) should be handled as success
We use dynamic image cache and in the case the cached thumbnail was just created the response status code is 201 instead of 200.
if (xhr.status === 200 || xhr.status === 0) {
->
if (xhr.status === 200 || xhr.status === 201 || xhr.status === 0) {