Skip to content

Commit 8b1d826

Browse files
committed
Fixed missing file for integration test
1 parent 2528368 commit 8b1d826

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/samples/secure_cookie.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from flask import Flask, session, make_response
2+
3+
app = Flask(__name__)
4+
5+
@app.route('/')
6+
def index():
7+
resp = make_response('Custom Cookie Set')
8+
resp.set_cookie('custom_cookie', 'value')
9+
return resp

0 commit comments

Comments
 (0)