Response (res) has a get_cookies method which I guess could use here, just saying in case you didn't know :)