forked from falconry/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sameSite parameter to unset_cookie (falconry#2140)
* Enhancement falconry#2124: added the samesite parameter to unset_cookie. Tests: added a test case to test_unset_cookies and to on_get in CookieUnset * Added new option to documentation in cookies.srt * Added tests, CookiesUnsetSameSite class and test_unset_cookies_samesite; added towncrier news fragment. * Removed unused import logging from test_cookies * Reverted changes to docs/changes4.0.0.rst * Reverted changes to docs/changes4.0.0.rst * Update 4.0.0.rst Co-authored-by: Vytautas Liuolia <vytautas.liuolia@gmail.com>
- Loading branch information
1 parent
16d4710
commit d2981f6
Showing
4 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added kwarg samesite to :py:meth:`~falcon.Response.unset_cookie` to allow override of default ``Lax`` setting of `SameSite` on the unset cookie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters