Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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

  • 3 одговора
  • 1 има овај проблем
  • 315 прегледа
  • Последњи одговор послао dumdidadida
  • Архивирано

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)

Hi,

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

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)?

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