hurl/integration/tests/proxy.py
2020-10-30 10:15:25 +01:00

9 lines
150 B
Python

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