[Cache API] Optimize whitespace trimming in Vary header values
[WebKit-https.git] / Source / WebCore / ChangeLog
index 7245050f28974e24d122b150fc8ec0e0f6cd8c10..1c79eb7b8d620bbbfa0e60729a47ee0cdd01f06c 100644 (file)
@@ -1,3 +1,19 @@
+2017-08-22  Youenn Fablet  <youenn@apple.com>
+
+        [Cache API] Optimize whitespace trimming in Vary header values
+        https://bugs.webkit.org/show_bug.cgi?id=175837
+
+        Reviewed by Alex Christensen.
+
+        No change of behavior.
+
+        Introducing a StringView version of stripLeadingAndTrailingHTTPSpaces.
+
+        * Modules/cache/Cache.cpp:
+        (WebCore::hasResponseVaryStarHeaderValue):
+        * platform/network/HTTPParsers.h:
+        (WebCore::stripLeadingAndTrailingHTTPSpaces):
+
 2017-08-22  Alex Christensen  <achristensen@webkit.org>
 
         Remove ChromeClient::scrollbarsModeDidChange