Open
Description
Feature description
View needs a simple way to return a redirect to the user. For example, FastAPI has RedirectResponse
.
Feature example API
from view import new_app, redirect
app = new_app()
@app.get("/index")
def index():
return redirect("/")
app.run()
Anything else?
No response