Title: [181902] trunk/Source/WebKit2
- Revision
- 181902
- Author
- [email protected]
- Date
- 2015-03-24 13:11:38 -0700 (Tue, 24 Mar 2015)
Log Message
[WK2] Remove NetworkCache FIXME comment about caching responses to OPTIONS requests
https://bugs.webkit.org/show_bug.cgi?id=143009
Reviewed by Andreas Kling.
Remove NetworkCache FIXME comment about caching responses to OPTIONS
method as RFC 7234 says "Responses to the OPTIONS method are not
cacheable" [1].
[1] http://tools.ietf.org/html/rfc7231#page-31
* NetworkProcess/cache/NetworkCache.cpp:
(WebKit::NetworkCache::canRetrieve):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (181901 => 181902)
--- trunk/Source/WebKit2/ChangeLog 2015-03-24 20:07:26 UTC (rev 181901)
+++ trunk/Source/WebKit2/ChangeLog 2015-03-24 20:11:38 UTC (rev 181902)
@@ -1,5 +1,21 @@
2015-03-24 Chris Dumez <[email protected]>
+ [WK2] Remove NetworkCache FIXME comment about caching responses to OPTIONS requests
+ https://bugs.webkit.org/show_bug.cgi?id=143009
+
+ Reviewed by Andreas Kling.
+
+ Remove NetworkCache FIXME comment about caching responses to OPTIONS
+ method as RFC 7234 says "Responses to the OPTIONS method are not
+ cacheable" [1].
+
+ [1] http://tools.ietf.org/html/rfc7231#page-31
+
+ * NetworkProcess/cache/NetworkCache.cpp:
+ (WebKit::NetworkCache::canRetrieve):
+
+2015-03-24 Chris Dumez <[email protected]>
+
[WK2] NetworkCache retrievals fail for entries with no body
https://bugs.webkit.org/show_bug.cgi?id=142979
<rdar://problem/20264100>
Modified: trunk/Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp (181901 => 181902)
--- trunk/Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp 2015-03-24 20:07:26 UTC (rev 181901)
+++ trunk/Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp 2015-03-24 20:11:38 UTC (rev 181902)
@@ -245,7 +245,7 @@
static RetrieveDecision canRetrieve(const WebCore::ResourceRequest& request)
{
- // FIXME: Support HEAD and OPTIONS requests.
+ // FIXME: Support HEAD requests.
if (request.httpMethod() != "GET")
return RetrieveDecision::NoDueToHTTPMethod;
// FIXME: We should be able to validate conditional requests using cache.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes