而tomcat中调用点org.apache.catalina.connector.Request.parseCookies() 备注:
1. 根据 RFC 2109标准
Thename must conform to RFC 2109. That means it can contain only ASCII alphanumeric characters and cannot contain commas, semicolons, or white space or begin with a $ character. The cookie's name cannot be changed after creation.
Thevalue can be anything the server chooses to send. Its value is probablyof interest only to the server. The cookie's value can be changed aftercreation with the setValue method.
Bydefault, cookies are created according to the Netscape cookie specification. The version can be changed with thesetVersion method.
bad cookie:cookie name不能是保留字,不能含空格,不能以$开头,否则cookie被视为bad cookie。