Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add store() and fix cookie expiration/overwrite
Add store() method for backwards compat with Client\CookieCollection. I've also fixed a few issues that resulted in: 1. Cookies not be updated when a new response has a new value. 2. Cookies not being removed when they expire. Both of these issues have been solved with an additional private method.
- Loading branch information
Showing
2 changed files
with
223 additions
and
18 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