RFC 6265bis will permit cookies with values but no names in some circumstances. Frameworks - such as Servlet - are encouraged to support parsing such cookies.
jakarta.servlet.http.Cookie does not allow either null or "" for the name field. Do we want to:
relax that in light of the expected RFC 6265bis changes;
wait for the RFC to be published before we make a decision;
RFC 6265bis will permit cookies with values but no names in some circumstances. Frameworks - such as Servlet - are encouraged to support parsing such cookies.
jakarta.servlet.http.Cookie
does not allow eithernull
or""
for the name field. Do we want to: