[原]Cookie domain 命名规则
A Set-Cookie2 from request-host y.x.foo.com for Domain=.foo.com would be rejected, because H is y.x and contains a dot. ...
A Set-Cookie2 from request-host x.foo.com for Domain=.foo.com would be accepted. ...
A Set-Cookie2 with Domain=.com or Domain=.com., will always be rejected, because there is no embedded dot. ...
A Set-Cookie2 with Domain=.com or Domain=.com., will always be rejected, because there is no embedded dot. ...
A Set-Cookie2 with Domain=ajax.com will be accepted, and the value for Domain will be taken to be .ajax.com, because a dot Set-Cookie2 with Domain=ajax.com will be accepted, and the value for Domain will be taken to be .ajax.com, because a dot gets prepended to the value. ...