Skip to content

Commit

Permalink
Fixed missing file for integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecsilva committed Jan 16, 2025
1 parent 2528368 commit 8b1d826
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/samples/secure_cookie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from flask import Flask, session, make_response

app = Flask(__name__)

@app.route('/')
def index():
resp = make_response('Custom Cookie Set')
resp.set_cookie('custom_cookie', 'value')
return resp

0 comments on commit 8b1d826

Please sign in to comment.