mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-03 14:33:53 +03:00
18 lines
386 B
Python
18 lines
386 B
Python
from tests import app
|
|
from flask import redirect
|
|
|
|
|
|
@app.route("/follow-redirect")
|
|
def follow_redirect():
|
|
return redirect("http://localhost:8000/following-redirect")
|
|
|
|
|
|
@app.route("/following-redirect")
|
|
def following_redirect():
|
|
return redirect("http://localhost:8000/followed-redirect")
|
|
|
|
|
|
@app.route("/followed-redirect")
|
|
def followed_redirect():
|
|
return "Followed redirect!"
|