hurl/integration/tests_ok/proxy.py

9 lines
148 B
Python

from app import app
from flask import request
@app.route("/proxy")
def proxy():
assert request.headers["From-Proxy"] == "Hello"
return ""