aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Lib/http/cookies.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:39 +0300
commite9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch)
tree64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/tools/python3/src/Lib/http/cookies.py
parent2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff)
downloadydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Lib/http/cookies.py')
-rw-r--r--contrib/tools/python3/src/Lib/http/cookies.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tools/python3/src/Lib/http/cookies.py b/contrib/tools/python3/src/Lib/http/cookies.py
index efdd950d07..35ac2dc6ae 100644
--- a/contrib/tools/python3/src/Lib/http/cookies.py
+++ b/contrib/tools/python3/src/Lib/http/cookies.py
@@ -131,7 +131,7 @@ Finis.
#
import re
import string
-import types
+import types
__all__ = ["CookieError", "BaseCookie", "SimpleCookie"]
@@ -257,7 +257,7 @@ class Morsel(dict):
In a cookie, each such pair may have several attributes, so this class is
used to keep the attributes associated with the appropriate key,value pair.
This class also includes a coded_value attribute, which is used to hold
- the network representation of the value.
+ the network representation of the value.
"""
# RFC 2109 lists these attributes as reserved:
# path comment domain
@@ -281,7 +281,7 @@ class Morsel(dict):
"secure" : "Secure",
"httponly" : "HttpOnly",
"version" : "Version",
- "samesite" : "SameSite",
+ "samesite" : "SameSite",
}
_flags = {'secure', 'httponly'}
@@ -420,9 +420,9 @@ class Morsel(dict):
# Return the result
return _semispacejoin(result)
- __class_getitem__ = classmethod(types.GenericAlias)
+ __class_getitem__ = classmethod(types.GenericAlias)
+
-
#
# Pattern for finding cookie
#