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

XMLHttpRequest: error flag is set on when response status is 500 Internal Server Error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.2, 5.5.0 RC
    • None

    Description

      The error flag is set and makes it impossible to retrieve status, statusText and responseText when state has changed to LOADING. Has been fixed for some http status codes in QTBUG-45358, but not for 500.

      To reproduce run:

      nc -l -p 8080 << EOF
      HTTP/1.1 500 Internal Server Error
      
      
      body body body
      
      EOF
      

      and then: qmlviewer xhr-test.qml

      Attachments

        Issue Links

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

          Activity

            People

              aalpert Alan Alpert
              jbb Jesper Bækdahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes