2006-10-12 MorganL <morganl.webkit@yahoo.com>
[WebKit-https.git] / WebKit / COM / WebFrame.cpp
index c40d8904856c90110109e8b7610d59311a57aa81..0769e86eb22fe8e1a17d088d0296868063f09426 100644 (file)
@@ -506,10 +506,8 @@ void WebFrame::receivedResponse(ResourceLoader* job, PlatformResponse)
     KURL kurl(DeprecatedString((DeprecatedChar*)url, SysStringLen(url)));
     SysFreeString(url);
 
-    // Update MIME info
-    ResourceRequest r(d->frame->resourceRequest());    
-    r.m_responseMIMEType = "text/html";  // FIXME: get from PlatformResponse
-    d->frame->setResourceRequest(r);
+    // Update MIME info (FIXME: get from PlatformResponse)
+    d->frame->setResponseMIMEType(String(L"text/html"));
 
     d->frame->begin(kurl);