Upload successful, but treated as failure because response is not empty

3 posts, 0 answers
  1. Jim
    Jim avatar
    2 posts
    Member since:
    Nov 2012

    Posted 20 Nov 2012 Link to this post

    We are using Kendoui on a project to rewrite an existing Adobe Flash UI in HTML 5. Initial results are very promising. However, the Upload component treats HTTP 200 OK as an error if the response is not empty, but the file has actually uploaded successfully. Since we have other client code that uses the same server to upload files, we are not able to change the server to send an empty response. Is there a way to configure a response handler to validate the response or simply treat HTTP 200 OK as success regardless of the response?
  2. Eliezer
    Eliezer avatar
    3 posts
    Member since:
    Dec 2012

    Posted 12 Jan 2013 Link to this post

    I was with the same problem. If the server return a answer with text or html we get this error. But if the answer is a JSON object the error stop to happen. It's just a tip in case of you dont find any solution.
  3. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 09 Mar 2013 Link to this post

    I found the same issue.  I am using PHP and returning this worked:


Back to Top