mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-29613: Added support for SameSite cookies (GH-6413)
* bpo-29613: Added support for SameSite cookies Implemented as per draft https://tools.ietf.org/html/draft-west-first-party-cookies-07 * Documented SameSite And suggestions by members. * Missing space :( * Updated News and contributors * Added version changed details. * Fix in documentation * fix in documentation * Clubbed test cases for same attribute into single. * Updates * Style nits + expand tests * review feedback
This commit is contained in:
parent
1d80a56173
commit
c87eb09d2e
5 changed files with 25 additions and 0 deletions
|
|
@ -281,6 +281,7 @@ class Morsel(dict):
|
|||
"secure" : "Secure",
|
||||
"httponly" : "HttpOnly",
|
||||
"version" : "Version",
|
||||
"samesite" : "SameSite",
|
||||
}
|
||||
|
||||
_flags = {'secure', 'httponly'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue