Bug 88925 - [CFNetwork] XMLHttpRequest incorrectly returns cached responses even when there is a Vary header field
Summary: [CFNetwork] XMLHttpRequest incorrectly returns cached responses even when the...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on: 89278
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-12 14:54 PDT by Alexey Proskuryakov
Modified: 2012-06-16 01:40 PDT (History)
5 users (show)

See Also:


Attachments
proposed fix (10.54 KB, patch)
2012-06-12 14:58 PDT, Alexey Proskuryakov
ddkilzer: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2012-06-12 14:54:06 PDT
Event though WebCore cache has been taught to avoid caching XMLHttpRequests with Vary, this still happens in Safari.

See also bug 58797, bug 71509, which are about mishandling Vary in other parts of WebCore cache.
Comment 1 Alexey Proskuryakov 2012-06-12 14:58:06 PDT
Created attachment 147171 [details]
proposed fix
Comment 2 David Kilzer (:ddkilzer) 2012-06-12 18:09:06 PDT
Comment on attachment 147171 [details]
proposed fix

r=me
Comment 3 Alexey Proskuryakov 2012-06-14 10:42:43 PDT
Committed <http://trac.webkit.org/changeset/120339>