servlet
servlet copied to clipboard
RFC 6265bis will allow cookies with a value but no name
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;
- leave things as they are;
- do something else?