Skip to content

Commit 789c585

Browse files
committed
Create qhelp example
1 parent ce3fb6b commit 789c585

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from flask import Response, request, Flask, make_response
2+
3+
4+
@app.route("/flask_Response")
5+
def flask_Response():
6+
rfs_header = request.args["rfs_header"]
7+
response = Response()
8+
response.headers['HeaderName'] = rfs_header
9+
return response

0 commit comments

Comments
 (0)