I’m currently struggling with passing the content of a
SetCookie to a
Cookie (you can find the precise implementation of the issue here) :
I successfully retrieved the content of the SetCookie (l. 65) of a POST request for using it in the header field of a latter request (l.71), the problem is that when I try to set the header field
Cookie with the previous retrieved content the compiler sends back “
[rustc] expected function, found struct Cookie”.
Could somebody solve/explain this to me ?