RESOLVED FIXED 205119
Remove certain headers when a redirect causes a request method change
https://bugs.webkit.org/show_bug.cgi?id=205119
Summary Remove certain headers when a redirect causes a request method change
Anne van Kesteren
Reported 2019-12-11 08:46:55 PST
Attachments
Patch (4.24 KB, patch)
2020-05-15 10:48 PDT, Rob Buis
no flags
Patch (40.80 KB, patch)
2020-05-15 13:26 PDT, Rob Buis
no flags
Patch (42.00 KB, patch)
2020-05-16 10:06 PDT, Rob Buis
no flags
Patch (54.59 KB, patch)
2020-05-16 11:48 PDT, Rob Buis
no flags
Patch (60.35 KB, patch)
2020-05-16 13:35 PDT, Rob Buis
no flags
Patch (60.12 KB, patch)
2020-05-16 14:11 PDT, Rob Buis
no flags
Patch (60.35 KB, patch)
2020-05-16 14:51 PDT, Rob Buis
no flags
Patch (63.50 KB, patch)
2020-05-18 00:15 PDT, Rob Buis
no flags
Patch (60.33 KB, patch)
2020-05-18 02:37 PDT, Rob Buis
no flags
Patch (60.33 KB, patch)
2020-05-18 04:54 PDT, Rob Buis
no flags
Patch (63.32 KB, patch)
2020-05-18 05:45 PDT, Rob Buis
no flags
Patch (63.27 KB, patch)
2020-05-18 09:01 PDT, Rob Buis
no flags
Anne van Kesteren
Comment 1 2020-04-21 23:33:20 PDT
Rob Buis
Comment 2 2020-05-15 10:48:22 PDT
Rob Buis
Comment 3 2020-05-15 13:26:14 PDT
Rob Buis
Comment 4 2020-05-16 10:06:44 PDT
Rob Buis
Comment 5 2020-05-16 11:48:15 PDT
Rob Buis
Comment 6 2020-05-16 13:35:50 PDT
Rob Buis
Comment 7 2020-05-16 14:11:45 PDT
Rob Buis
Comment 8 2020-05-16 14:51:00 PDT
Rob Buis
Comment 9 2020-05-18 00:15:00 PDT
Rob Buis
Comment 10 2020-05-18 02:37:35 PDT
Rob Buis
Comment 11 2020-05-18 04:54:30 PDT
Rob Buis
Comment 12 2020-05-18 05:45:46 PDT
youenn fablet
Comment 13 2020-05-18 07:26:26 PDT
Comment on attachment 399641 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399641&action=review > Source/WebCore/platform/network/ResourceRequestBase.cpp:140 > +void ResourceRequestBase::redirectAsGETIfNeeded(ResourceRequest &newRequest, const ResourceResponse& redirectResponse) const Let's change this method so that newRequest iss 'this' and the redirectRequest is passed as const ResourceRequest&. And then we could write it as: if (!shouldUseGet(redirectRequest, redirectResponse)) return; setHTTPMethod(...) ...
Rob Buis
Comment 14 2020-05-18 09:01:47 PDT
EWS
Comment 15 2020-05-18 10:53:02 PDT
Committed r261821: <https://trac.webkit.org/changeset/261821> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399648 [details].
Radar WebKit Bug Importer
Comment 16 2020-05-18 10:54:18 PDT
Note You need to log in before you can comment on or make changes to this bug.