-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
[QUESTION] How to redirect a page on server side. #14
Comments
oh I guess I can use ResponseError::Redirect from error.rs and axum::response::Redirect to handle server-side redirection. |
Thanks for bringing this to notice. I'll switch to using the |
I think you should handle redirecting with |
Hey @blueowlgreenfish! Jotsy is actually being rewritten entirely, to improve performance and also help other developers who want to learn building web applications using Rust. I'm currently a little bogged down with stuff @skytable, but once I'm done with them — a lot is coming to Jotsy :) Also, thank you for your note on this :D |
I'm learning how Jotsy application works using the cutting-edge technologies such as Rust, Axum, and Tokio. Right now, Jotsy application uses
redirect.html
to redirect a page, but meta refresh is discouraged by World Wide Web Consortium (W3C) as described here. If the Jotsy app developer decides to stick with meta refresh, it's absolutely fine. I just want to know a different approach to handling redirection, which is to redirect a page on server side. I looked into crates such asreqwest
andhyper
to do this, but I can't figure this out. Any suggestions will be appreciated.The text was updated successfully, but these errors were encountered: