Changes between Version 2 and Version 4 of Ticket #33109


Ignore:
Timestamp:
Sep 14, 2021, 2:05:26 AM (3 years ago)
Author:
Adrien Carpentier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33109

    • Property Summary Testing of presence of SameSite and Secure cookies doesn't workTesting the presence of SameSite and Secure cookies doesn't work
  • Ticket #33109 – Description

    v2 v4  
    2222When printing the content of the cookies (`print(res.cookies.items())`), the cookie keys are not there.
    2323
    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`).
     24Side 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.
Back to Top