Bug 126290 - [SOUP] willSendRequest doesn't work after a redirect
Summary: [SOUP] willSendRequest doesn't work after a redirect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Soup
Depends on:
Blocks: 126291
  Show dependency treegraph
 
Reported: 2013-12-30 08:01 PST by Carlos Garcia Campos
Modified: 2013-12-31 00:24 PST (History)
7 users (show)

See Also:


Attachments
Patch (8.71 KB, patch)
2013-12-30 08:06 PST, Carlos Garcia Campos
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2013-12-30 08:01:40 PST
The problem is that we are creating the new soup request for the redirect before calling ResourceHandleClient::willSendRequest() so that any change made to the request by the client is ignored.
Comment 1 Carlos Garcia Campos 2013-12-30 08:06:16 PST
Created attachment 220109 [details]
Patch
Comment 2 WebKit Commit Bot 2013-12-30 08:08:15 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Carlos Garcia Campos 2013-12-31 00:24:45 PST
Committed r161176: <http://trac.webkit.org/changeset/161176>