[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names
Martin Panter
report at bugs.python.org
Wed Oct 10 16:27:23 EDT 2018
Martin Panter <vadmium+py at gmail.com> added the comment:
RFC 6265 says that only the first three letters of the month are significant, and the rest of the token should be ignored. See <https://tools.ietf.org/html/rfc6265#section-5.1.1>:
month = ( "jan" / "feb" / "mar" / "apr" /
"may" / "jun" / "jul" / "aug" /
"sep" / "oct" / "nov" / "dec" ) *OCTET
I have not heard of an Expires field syntax with a numeric month.
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34951>
_______________________________________
More information about the Python-bugs-list
mailing list