https://bugs.webkit.org/show_bug.cgi?id=73924
Reviewed by Gustavo Noronha Silva.
Apply the same change added to the GTK+ port in r55086 to prevent
soup message flags from being lost by updating the request flags when
a response is received.
* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102159
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-12-05 Raphael Kubo da Costa <kubo@profusion.mobi>
+
+ [EFL] Do not lose message flags when converting to/from Soup Requests/Responses
+ https://bugs.webkit.org/show_bug.cgi?id=73924
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Apply the same change added to the GTK+ port in r55086 to prevent
+ soup message flags from being lost by updating the request flags when
+ a response is received.
+
+ * WebCoreSupport/FrameLoaderClientEfl.cpp:
+ (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
+
2011-12-04 Kangil Han <kangil.han@samsung.com>
[EFL] Fix broken UTF-8 characters issue on editor command.
delete this;
}
-void FrameLoaderClientEfl::dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const ResourceResponse& response)
-{
+void FrameLoaderClientEfl::dispatchDidReceiveResponse(DocumentLoader* loader, unsigned long, const ResourceResponse& response)
+{
+#if USE(SOUP)
+ // Update our knowledge of request soup flags - some are only set
+ // after the request is done.
+ loader->request().setSoupMessageFlags(response.soupMessageFlags());
+#else
+ UNUSED_PARAM(loader);
+#endif
+
m_response = response;
}