REGRESSION (XHR Caching): Uncacheable responses sent by Rails through Apache...
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 20:57:10 +0000 (20:57 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 20:57:10 +0000 (20:57 +0000)
commitf9a5b94d79c28aca96df66170f0b9dbac2dd719c
tree154a88d0b6131c8801988905beeb0bbbdde5b339
parent3997d9d7f9ce3754a4cc3aa1f5c3e211fa2dad2a
    REGRESSION (XHR Caching): Uncacheable responses sent by Rails through Apache are cached
        https://bugs.webkit.org/show_bug.cgi?id=83925
        <rdar://problem/11231790>

        Reviewed by Antti Koivisto.

        Added subtests to http/tests/cache/subresource-expiration-2.html.

        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::parseCacheControlDirectives): Honor first max-age
        instead of the last. New behavior matches both Firefox and IE.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/cache/subresource-expiration-2-expected.txt
LayoutTests/http/tests/cache/subresource-expiration-2.html
Source/WebCore/ChangeLog
Source/WebCore/platform/network/ResourceResponseBase.cpp