Index: Source/core/fetch/Resource.cpp |
diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp |
index 148605adae15af8fe386220ccd962e08b84d3da6..0a38f04d7e4e67cb8a21fd026b2a700825006c6c 100644 |
--- a/Source/core/fetch/Resource.cpp |
+++ b/Source/core/fetch/Resource.cpp |
@@ -81,11 +81,11 @@ const char* const headerPrefixesToIgnoreAfterRevalidation[] = { |
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; |