2022-02-14 11:13:33 +03:00
|
|
|
from app import app
|
2020-10-29 22:08:15 +03:00
|
|
|
from flask import request
|
|
|
|
|
2022-02-05 08:56:33 +03:00
|
|
|
|
2020-10-29 22:08:15 +03:00
|
|
|
@app.route("/proxy")
|
|
|
|
def proxy():
|
2022-02-05 08:56:33 +03:00
|
|
|
assert request.headers["From-Proxy"] == "Hello"
|
|
|
|
return ""
|