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

XMLHttpRequest.status always returns 0 on iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0 RC1
    • Fix Version/s: Some future release
    • Component/s: Network: SSL
    • Labels:
      None
    • Environment:
      Qt 5.3.0 RC1, iOS 7.1.1
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      XMLHttpRequest always returns status=0 when running on iOS

      The attached QML illustrates the issue

      This is problematic when you want to use the HTTP status codes to perform different actions on e.g. 200 OK, 401 Unauthorized etc.

        Attachments

        1. main.qml
          0.7 kB
          Henrik Hartz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              henrikhartz Henrik Hartz
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes