Serhiy Storchaka added the comment: According to RFC 6265, Section 5.2:
2. If the name-value-pair string lacks a %x3D ("=") character, ignore the set-cookie-string entirely. But "Set-Cookie: spam; Expires=Thu, 01 Jan 1970 00:00:10 GMT" is accepted. key="spam", value=None. 5. If the name string is empty, ignore the set-cookie-string entirely. But "Set-Cookie: =spam; Expires=Thu, 01 Jan 1970 00:00:10 GMT" is accepted. key="", value="spam". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23138> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com