Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

GET request after submited form reload (F5) instead of POST

  • 3 回覆
  • 1 有這個問題
  • 17 次檢視
  • 最近回覆由 dumdidadida

more options

The browser requests server via GET when reloading (F5) submited form. The original POST request (first submit) returns HTTP code 500. Is it feature? In my opinion it should resend form in case of any returned status code. Is it bug of FF or is there any other reason to behave like that. Thanks for the response.

The browser requests server via GET when reloading (F5) submited form. The original POST request (first submit) returns HTTP code 500. Is it feature? In my opinion it should resend form in case of any returned status code. Is it bug of FF or is there any other reason to behave like that. Thanks for the response.

所有回覆 (3)

more options

Hi,

Please see this. Though it is about the UI message, the dangers regarding a resend are also clarified.

more options

Hi, do I understand it correct? Base on comment https://bugzilla.mozilla.org/show_bug.cgi?id=160144#c257 it should show error message (re-posting) if the page is result of POST request (doesn't matter if the result is errorneous or not). That's what I am expecting, but it uses GET. Is it because I have disabled cache (development purposes)?

more options

Actually I think this UI feature is pending. You could try to Work Offline via File (Alt + F) and use the back button.