hurl/integration/tests_ok/proxy.py
2023-04-09 14:03:14 +02:00

10 lines
175 B
Python

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