equal
deleted
inserted
replaced
974 // for 4.6.0, we were planning to not store the date header in the |
974 // for 4.6.0, we were planning to not store the date header in the |
975 // cached resource; through that we planned to reduce the number |
975 // cached resource; through that we planned to reduce the number |
976 // of writes to disk when using a QNetworkDiskCache (i.e. don't |
976 // of writes to disk when using a QNetworkDiskCache (i.e. don't |
977 // write to disk when only the date changes). |
977 // write to disk when only the date changes). |
978 // However, without the date we cannot calculate the age of the page |
978 // However, without the date we cannot calculate the age of the page |
979 // anymore. Consider a proper fix of that problem for 4.6.1. |
979 // anymore. |
980 //if (header == "date") |
980 //if (header == "date") |
981 //continue; |
981 //continue; |
982 |
982 |
983 // Don't store Warning 1xx headers |
983 // Don't store Warning 1xx headers |
984 if (header == "warning") { |
984 if (header == "warning") { |