there is res.get_cookies to make easier cookie handling