Reviewed by geoff
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Oct 2006 21:53:37 +0000 (21:53 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Oct 2006 21:53:37 +0000 (21:53 +0000)
        <rdar://problem/4763519> REGRESSION: Multipart/x-mixed-replace sub-resources fail to load

        * Loader/WebSubresourceLoader.m:
        (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forFrameLoader:]):
        Enable multipart/x-mixed-replace support on the request.  This line was accidently removed during
        some loader refactoring.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Loader/WebSubresourceLoader.m

index 3d58d4176c8152eb08d102126b03dadb594e7c11..f947799ca9a431ca17c143abb560c559e700964b 100644 (file)
@@ -1,3 +1,14 @@
+2006-10-03  Justin Garcia  <justin.garcia@apple.com>
+
+        Reviewed by geoff
+        
+        <rdar://problem/4763519> REGRESSION: Multipart/x-mixed-replace sub-resources fail to load
+
+        * Loader/WebSubresourceLoader.m:
+        (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forFrameLoader:]): 
+        Enable multipart/x-mixed-replace support on the request.  This line was accidently removed during 
+        some loader refactoring.
+
 2006-10-02  Adam Roben  <aroben@apple.com>
 
         Reviewed by Maciej.
index 80b2044999cf88bafab92f65ebc78ca945cb6454..38140748d286b331ec0b582e522ef69930f64d82 100644 (file)
@@ -33,6 +33,7 @@
 #import <WebCore/WebCoreResourceLoader.h>
 #import <WebKit/WebFormDataStream.h>
 #import <WebKit/WebFrameLoader.h>
+#import <WebKitSystemInterface.h>
 
 @implementation WebSubresourceLoader
 
@@ -98,6 +99,8 @@ static void setHTTPReferrer(NSMutableURLRequest *request, NSString *theReferrer)
 {
     if ([fl state] == WebFrameStateProvisional)
         return nil;
+        
+    WKSupportsMultipartXMixedReplace(newRequest);
 
     WebSubresourceLoader *loader = [[[self alloc] initWithLoader:rLoader frameLoader:fl] autorelease];