You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
What should happen with location.reload() on a page that is a POST result? #3215
Open developer tools and evaluate "location.reload()".
I can't do step 3 in Safari, because it won't let me open developer tools on that page. But in Chrome, Firefox, and Edge, in step 3 the reload resends the POST data. Firefox and Edge prompt for the repost; Chrome just silently does it.
I wonder how @mcmanus feels about removing the prompting. As I understand it servers already need to be resilient against duplicate POSTs due to various protocol issues. Given that, it seems unfortunate to have a dialog the user isn't really helped with (or can typically make sense of).
Activity
bzbarsky commentedon Nov 8, 2017
// cc @annevk @domenic
annevk commentedon Nov 9, 2017
I wonder how @mcmanus feels about removing the prompting. As I understand it servers already need to be resilient against duplicate POSTs due to various protocol issues. Given that, it seems unfortunate to have a dialog the user isn't really helped with (or can typically make sense of).
bzbarsky commentedon Nov 9, 2017
The prompting is a separate issue. This issue is about the server-observable behavior: does the POST get resent at all?
annevk commentedon Nov 9, 2017
Understood and we should fix that, but I'm wondering if the new language (and tests) needs to account for the prompting or not.