Open mirko77 opened 4 years ago
Which is the proposed solution? Does it make sense to include it as part of PapaParse? If yes, could you please submit a PR?
So i changed in the papaparse _chunkLoaded function, this line
if (xhr.status < 200 || xhr.status >= 400)
by this one:
if (!((xhr.status >= 200 && xhr.status < 300) || (xhr.status==0 && xhr.responseText.length>0)))
Without that, parsing currently fails on both Android and iOS
Could you please add a PR with a comment explaining the reasoning? I will be happy to merge it.
I'll do it soon, thanks
Hi All,
320 is still an issue in both Android and iOS
xhr.status
returns0
in Android 9, the proposed solution works.