I am running python to extract value of keys from a long string returned from a http response header as below:
"csrftoken=##10882d8a32354e7e7e518beebf1d531d18788899; Secure; Path=/, session=75bcede9f0192ed2_619d5819.Qa4dv5iN0lHFkLWcdcDTzjvaabb; Secure; HttpOnly; Path=/"
I would like extract '##...8899' (value of csrftoken) and '75...aabb' (value of session). Is there any python method or smart way to easily extract those values?