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

Content-Length: 0 is being set to cache meta data

    XMLWordPrintable

    Details

    • Commits:
      b60c642ec0532c108abcf57a42e214f44595ef93 (qt/qtbase/5.12)

      Description

      IIS inserts Content-Length: 0 for 304 responses and Qt tries to workaround this:
      https://github.com/qt/qtbase/blob/5.11/src/network/access/qnetworkreplyhttpimpl.cpp#L1680

      But if the initial response didn't contain Content-Length, it never reaches this and adds Content-Length: 0 header into the cached meta data.

        Attachments

        1. qtbug72035.tar.gz
          1 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Eddy Edward Welbourne
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes