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

XmlListModel fails on OpenStreetMap - regression due to bug 15836

    XMLWordPrintable

Details

    • 4391e2a1c35a53cc5f116926a1e5177e9ee4f51e

    Description

      The fix to bug 15836 introduces a functionality regression.

      Limiting the acceptable response types to "application/xml" results in a 'HTTP 406: Not Acceptable' error code when the service returns XML data with another Content-Type header.

      This is the case for OpenStreetMap.org, which returns its reverse lookup data as 'Content-Type: text/xml'.

      The original behavior was to allow any content type, and leave it up to the server to deal with the situation.

      The new behavior explicitly prevents the server from returning anything other than 'application/xml' content types.

      A compromise could be to send 'Accept: */xml', or to simply revert the fix in bug 15836.

      Attachments

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

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            larholm Thor Larholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes