10000 X-Inertia-Version not matching the page object's version in documentation · Issue #410 · inertiajs/inertiajs.com · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

X-Inertia-Version not matching the page object's version in documentation #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aalhoura opened this issue May 14, 2025 · 0 comments
Open

Comments

@aalhoura
Copy link
aalhoura commented May 14, 2025

In this section https://inertiajs.com/the-protocol of the documentation, the second code block shows a request and response example. In the request, the X-Inertia-Version header has a value of 6b16b94d7c51cbe5b1fa42aac98241d5, and in the response, the page object's version has a value of c32b8e4965f418ad16eaebba1d4e960f. These values represent the asset versions on the client and server, respectively.

Shouldn't these two values match? If the X-Inertia-Version header has a different value than the page object's version, then the response would be a 409 Conflict. But in the example, the response is HTTP/1.1 200 OK.

Image

The same is true for the last code block on the same page.

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0