⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181902 in webkit


Ignore:
Timestamp:
Mar 24, 2015, 1:11:38 PM (11 years ago)
Author:
Chris Dumez
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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181895 r181902  
     12015-03-24  Chris Dumez  <cdumez@apple.com>
     2
     3        [WK2] Remove NetworkCache FIXME comment about caching responses to OPTIONS requests
     4        https://bugs.webkit.org/show_bug.cgi?id=143009
     5
     6        Reviewed by Andreas Kling.
     7
     8        Remove NetworkCache FIXME comment about caching responses to OPTIONS
     9        method as RFC 7234 says "Responses to the OPTIONS method are not
     10        cacheable" [1].
     11
     12        [1] http://tools.ietf.org/html/rfc7231#page-31
     13
     14        * NetworkProcess/cache/NetworkCache.cpp:
     15        (WebKit::NetworkCache::canRetrieve):
     16
    1172015-03-24  Chris Dumez  <cdumez@apple.com>
    218
  • trunk/Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp

    r181894 r181902  
    246246static RetrieveDecision canRetrieve(const WebCore::ResourceRequest& request)
    247247{
    248     // FIXME: Support HEAD and OPTIONS requests.
     248    // FIXME: Support HEAD requests.
    249249    if (request.httpMethod() != "GET")
    250250        return RetrieveDecision::NoDueToHTTPMethod;
Note: See TracChangeset for help on using the changeset viewer.