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 2021-06-19 22:25 by jwag956.

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
2021-06-19 22:25:23jwag956create