How does flask set the value of a field in cookies to list or dict

resp = make_response ()
resp.set_cookie ("addr", [])-sharp reported an error

Mar.01,2021

cookie is key-value,key and value are both simple types, and there is no value that is list or dict. In fact, strings can implement all types, and if not, if you use strings in json format, you can always parse

.
Menu