-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deleting a cookie that was created with secure=False (#2976)
* Add ability to delete a non-secure cookie. Also re-use existing cookie properties where possible if deleting a cookie that is already knowin in the response headers. Sanity-check and correct deletion cookie's secure_prefix and host_prefix based on the value of secure bool. * Fail explicitly * squash * Cleanup some comments --------- Co-authored-by: Adam Hopkins <[email protected]>
- Loading branch information
1 parent
24cf099
commit 90e3beb
Showing
2 changed files
with
105 additions
and
12 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
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