Bug 38032 - No need to content sniff 304 responses
Summary: No need to content sniff 304 responses
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 21:54 PDT by David Kilzer (:ddkilzer)
Modified: 2010-04-23 01:24 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.45 KB, patch)
2010-04-22 21:54 PDT, David Kilzer (:ddkilzer)
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>