net/http: SetCookie is creating invalid headers #29804
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Create a secure cookie with github.com/gorilla/securecookie (wich from their side works) and create a cookie with
http.setcookie()
What did you expect to see?
In my REST client for testing I expected to see a valid Set-Cookie header but the header is written as
setcookie
and the Secure and HttpOnly flags are missing.What did you see instead?
An invalid cookie header created by
http.setcookie()
The text was updated successfully, but these errors were encountered: