hurl/integration/tests_ok/proxy.py

9 lines
148 B
Python
Raw Normal View History

from app import app
2020-10-29 22:08:15 +03:00
from flask import request
2020-10-29 22:08:15 +03:00
@app.route("/proxy")
def proxy():
assert request.headers["From-Proxy"] == "Hello"
return ""