| Index: Source/core/loader/cache/Resource.cpp
|
| ===================================================================
|
| --- Source/core/loader/cache/Resource.cpp (revision 158194)
|
| +++ Source/core/loader/cache/Resource.cpp (working copy)
|
| @@ -81,11 +81,11 @@
|
| static inline bool shouldUpdateHeaderAfterRevalidation(const AtomicString& header)
|
| {
|
| for (size_t i = 0; i < WTF_ARRAY_LENGTH(headersToIgnoreAfterRevalidation); i++) {
|
| - if (header == headersToIgnoreAfterRevalidation[i])
|
| + if (equalIgnoringCase(header, headersToIgnoreAfterRevalidation[i]))
|
| return false;
|
| }
|
| for (size_t i = 0; i < WTF_ARRAY_LENGTH(headerPrefixesToIgnoreAfterRevalidation); i++) {
|
| - if (header.startsWith(headerPrefixesToIgnoreAfterRevalidation[i]))
|
| + if (header.startsWith(headerPrefixesToIgnoreAfterRevalidation[i], false))
|
| return false;
|
| }
|
| return true;
|
|
|