|Summary:||[GTK] performs a POST when refreshing a view that was obtained with a GET|
|Product:||WebKit||Reporter:||Xan Lopez <xan.lopez>|
|Severity:||Normal||CC:||danw, gustavo, sam|
|Version:||528+ (Nightly build)|
Description Xan Lopez 2009-09-25 23:17:52 PDT
Comment 1 Xan Lopez 2009-09-25 23:20:03 PDT
I think this causes automatic posts in bugzilla if you follow a link from a bug after posting, and then come back. Not good :)
Comment 2 Dan Winship 2009-09-26 09:29:45 PDT
I suspect ResourceHandleSoup::restartedCallback needs to do: request.setHTTPMethod(String(uri->method)); along with the existing request.setURL, before calling willSendRequest(). (SoupSession will have changed the SoupMessage's method when restarting it in this case.)
Comment 3 Xan Lopez 2009-10-01 10:15:43 PDT
Created attachment 40454 [details] redirectreload.diff Patch with Dan's suggestion plus a test for this.
Comment 4 Gustavo Noronha (kov) 2009-10-04 03:40:44 PDT
Comment on attachment 40454 [details] redirectreload.diff Thanks!
Comment 5 Xan Lopez 2009-10-04 11:15:39 PDT
The newly added test breaks other test, as the extra line in success200.html adds a new empty line in ~20 test results. Need to either change those or do this in some other way.