Bug 88925

Summary: [CFNetwork] XMLHttpRequest incorrectly returns cached responses even when there is a Vary header field
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, ddkilzer, japhet, koivisto, psolanki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 89278    
Bug Blocks:    
Attachments:
Description Flags
proposed fix ddkilzer: review+

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>