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

QNetworkAccessManager can not get 404 reponse body.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • 6.3.1
    • Network: HTTP
    • None
    • b31d902913 (qt/qtbase/dev) b31d902913 (qt/tqtc-qtbase/dev) 4f26cd2f9e (qt/qtbase/6.4) 4f26cd2f9e (qt/tqtc-qtbase/6.4)

    Description

      GET https://www.merriam-webster.com/dictionary/testab
      response 404 with response body.

      the QNetworkAccessManager can not handle such situation .
      the reply->readAll() return "";

      check the attached example.

      ps,
      web browsers such as chrome can display such url correctly.
      and
      curl -v https://www.merriam-webster.com/dictionary/testab
      output

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            xiaoyifang yifang xiao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes