Bug 38032

Summary: No need to content sniff 304 responses
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch beidson: review+

Description David Kilzer (:ddkilzer) 2010-04-22 21:54:54 PDT
Created attachment 54129 [details]
Patch

Reviewed by NOBODY (OOPS!).

* platform/network/mac/ResourceHandleMac.mm:
(-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
No need to adjust the MIME type on 304 responses since they're
only used to determine if the resource needs to be refetched.
---
 2 files changed, 15 insertions(+), 1 deletions(-)
Comment 1 Brady Eidson 2010-04-22 22:03:20 PDT
Comment on attachment 54129 [details]
Patch

r+
Comment 2 David Kilzer (:ddkilzer) 2010-04-23 01:24:13 PDT
Committed r58158: <http://trac.webkit.org/changeset/58158>