This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: HTTP Cookiejar doesn't support samesite
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jwag956
Priority: normal Keywords:

Created on 2021-06-19 22:25 by jwag956, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg396153 - (view) Author: Chris Wagner (jwag956) Date: 2021-06-19 22:25
In 3.8 the samesite attributes was added to http.cookies module.
However it hasn't been added to http.cookiejar module. The method: _normalized_cookie_tuples seems to have a hardcoded list of allowable attributes.

While the updated standard is still in draft stage (https://datatracker.ietf.org/doc/draft-ietf-httpbis-rfc6265bis/)
samesite is widely implemented and used (Chrome added support in 2017).
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88629
2021-06-19 22:25:23jwag956create