Changes between Version 2 and Version 4 of Ticket #33109
- Timestamp:
- Sep 14, 2021, 2:05:26 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33109
- Property Summary Testing of presence of SameSite and Secure cookies doesn't work → Testing the presence of SameSite and Secure cookies doesn't work
-
Ticket #33109 – Description
v2 v4 22 22 When printing the content of the cookies (`print(res.cookies.items())`), the cookie keys are not there. 23 23 24 (Until 3.1 I was adding `SameSite` and `Secure` cookies in the responses through a custom middleware before Django 3.1, depending on the user agent, with the exact same passing tests. Since Django 3.1, I just removed the custom middleware and added those constants in `settings.py`).24 Side note: until 3.1 I was adding `SameSite` and `Secure` cookies in the responses through a custom middleware before Django 3.1, depending on the user agent, and the tests were passing.