Open ZeroIntensity opened 5 months ago
View needs a simple way to return a redirect to the user. For example, FastAPI has RedirectResponse.
RedirectResponse
from view import new_app, redirect app = new_app() @app.get("/index") def index(): return redirect("/") app.run()
No response
Is this issue open ?
Nope, sorry! This has already been implemented on a separate branch, just not merged yet.
Feature description
View needs a simple way to return a redirect to the user. For example, FastAPI has
RedirectResponse
.Feature example API
Anything else?
No response