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

XMLHttpRequest status is zero when an ajax request fails without responseText

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes