The Go http code calls Header.Add() on your cookie, and Header.Add will
concatenate values together. If you want replacement semantics, you'll have
to clearout the "Set-Cookie" header on the response, or only add your final
cookie.
On Tue, Jul 14, 2020 at 4:58 PM B Carr wrote:
> In my applicatio
In my application, the most recent cookie value with the same name is
returned on the next request.
On Tuesday, July 14, 2020 at 1:54:56 PM UTC-6, atd...@gmail.com wrote:
>
> Hello,
>
> As I am writing some tests, I was wondering what should be the correct
> behavior when http.SetCookie is calle