Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: document that SetCookie name must be valid #9758
In net/http, before cookies are read, they are checked to ensure they have a valid name. However, when setting a cookie, an invalid name may be used; rather than being permitted, this should trigger an error.
There is further discussion on the gorilla sessions topic in which it was suggested that I raise this possibility here.
To answer the questions in the guidelines: