hurl/integration/tests/proxy.py

9 lines
150 B
Python
Raw Normal View History

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