Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0 RC
-
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.