mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-112713 : Add support for 'partitioned' attribute in http.cookies (GH-112714)
* Add support for 'partitioned' attribute in http.cookies Co-authored-by: Giles Copp <gilesc@dropbox.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
This commit is contained in:
parent
3a3a6b86f4
commit
9abbb58e3f
4 changed files with 28 additions and 1 deletions
|
@ -264,11 +264,12 @@ class Morsel(dict):
|
|||
"httponly" : "HttpOnly",
|
||||
"version" : "Version",
|
||||
"samesite" : "SameSite",
|
||||
"partitioned": "Partitioned",
|
||||
}
|
||||
|
||||
_reserved_defaults = dict.fromkeys(_reserved, "")
|
||||
|
||||
_flags = {'secure', 'httponly'}
|
||||
_flags = {'secure', 'httponly', 'partitioned'}
|
||||
|
||||
def __init__(self):
|
||||
# Set defaults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue