Skip to content
Inertia

Version conflict

Inertia.version("server")
// middleware installed…
val response = kernel.handle(
Request("GET", "/", headers = mapOf(
"X-Inertia" to "true",
"X-Inertia-Version" to "client",
)),
)
// status 409, X-Inertia: true, X-Inertia-Version: server

Clients treat 409 as a signal to perform a full page reload.