I am just doing some API tests, and I am trying to verify that the cookie data was sent correctly, however I cannot find the documentation about receiving cookies from the response object, only from the request.
So, there is a quick way to do this, as you would with requests req.cookies["myCookie"], I know I can get the header and get the set-cookie, but its a bit of a mess trying to parse the cookie data from there manually.
source
share