Python/flask
< Python
redirect
@app.route('/') def hello(): return redirect("http://www.example.com", code=302)
@app.route('/') def root(): def get(): yield "Getting data..." dostuff() yield '<script>document.location.href="http://192.168.111.11:5000/list"</script>'