Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

212
Vistas
What is the correct specification for reloading after rewriting using window.history.replaceState on a page after a POST transition?

First, see the differences between browsers below.

  • Google Chrome
  • Firefox
  • Safari

Two types of POST destination endpoints /register and /register-history-push-state are provided, but the essential difference is whether or not the following JavaScript is executed.

/register /register-history-push-state
enter image description here enter image description here
window.history.replaceState("", "", "/register-history-push-state");

If you reload the page after the POST transition, you will see that the HTTP Method on reload is different, as follows

Reload HTTP Method(NOT exec replaceState) Reload HTTP Method(exec replaceState)
Chrome POST GET
Firefox POST GET
Safari POST POST

The specification of url and history update steps does not clearly state here Not found.

Which pattern of behaviour is the correct browser specification?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda