Skip to content

Commit

Permalink
Merge branch 'samesite' of https://github.com/magula/secure-cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
Schnouki committed Sep 3, 2024
2 parents e06d58d + b3e776c commit fdf72fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/secure_cookie/cookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ def save_cookie(
secure=None,
httponly=False,
force=False,
samesite=None,
):
"""Save the data securely in a cookie on response object. All
parameters that are not described here are forwarded directly
Expand All @@ -405,4 +406,5 @@ def save_cookie(
domain=domain,
secure=secure,
httponly=httponly,
samesite=samesite,
)

0 comments on commit fdf72fb

Please sign in to comment.