Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45896

XMLHttpRequest status is zero when an ajax request fails without responseText

XMLWordPrintable

      The XMLHttpRequest.status returns '0' HTTP status code for failing ajax request if the server doesn't have any data in the response. Qt WebKit Inspector shows the status correctly (for example Status code: '503 Service Unavailable').

      A workaround would be to add some dummy data to the response on the server - if possible.

      Tested on Windows 7.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes