1
audit=value1; Version=1; Max-Age=31535999; Expires=Thu, 25-Jul-2019 17:20:26 GMT,c=1; httponly; Path=/

I am beginner in python. I have a string that contains the http.response.set_cookie captured using wireshark. I want to parse the cookies and save them in the database.

I used the code suggested by falsetrue in Python - convert set-cookies response to array of cookies

but unfortunately I did not know how to retreive the other cookie parameters like "httponly" ,"domain","secure"

Appreciate any help!

Thanks.

Guy Avraham
  • 3,482
  • 3
  • 38
  • 50
suzan ali
  • 11
  • 1

0 Answers0