Skip to content
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

Routes with the same url for post and get #37

Closed
kmligue opened this issue Jan 26, 2019 · 1 comment · May be fixed by #113
Closed

Routes with the same url for post and get #37

kmligue opened this issue Jan 26, 2019 · 1 comment · May be fixed by #113

Comments

@kmligue
Copy link

kmligue commented Jan 26, 2019

doesn't seem to work with POST and GET pages with the same url. looks like it redirects back to the GET page. example like when i have urls GET site.com/post and POST site.com/post, when i submit the form it just redirects back to the post page.

@kmligue kmligue changed the title Routes with the same url in post and get Routes with the same url for post and get Jan 26, 2019
@kmligue kmligue closed this as completed Jan 26, 2019
@JosephSilber
Copy link
Owner

Why did you close this issue?

It sounds like we should update the URL rewrites to only rewrite GET requests, no?

jonas-grobe added a commit to jonas-grobe/page-cache that referenced this issue Jan 4, 2024
By default, only GET requests are cached, so these are the only ones which should be served from cache.
Also fixes JosephSilber#37
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

Successfully merging a pull request may close this issue.

2 participants