0

My server returns status code for upload (201) with empty body. I can upload data to server but then onComplete callback is fired i get

Error when attempting to parse xhr response text (SyntaxError: Unexpected end of input) 

FineUploader expects JSON response which i did not provide, is there any way (except manualy modify FinneUploader JS file) to tell FineUploader not to attempt parse response and just check for valid status?

YoK
  • 1,606
  • 17
  • 23

1 Answers1

0

No. You will find that relying on status codes will cause you problems in IE9 and older, since a form inside a hidden iframe is submitted for each file in those browsers, and there is no way, via javascript, to determine the response code for such a request.

Ray Nicholus
  • 19,538
  • 14
  • 59
  • 82