This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author blueyed
Recipients MeiK, blueyed, martin.panter, xtreak
Date 2019-04-22.22:45:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555973131.62.0.231212348658.issue35824@roundup.psfhosted.org>
In-reply-to
Content
Another example of a value that fails to parse is if "-0000" is used instead of "GMT", which is the case with GitHub:

> Set-Cookie: has_recent_activity=1; path=/; expires=Mon, 22 Apr 2019 23:27:18 -0000

So using a regular expression here to only parse the sane-cookie-date format (that is recommended for output) is wrong.

The last change to it was in 2012 only (https://github.com/python/cpython/commit/aeeba2629aa52e4e73e19a1502b3d3133ea68dec)
History
Date User Action Args
2019-04-22 22:45:31blueyedsetrecipients: + blueyed, martin.panter, xtreak, MeiK
2019-04-22 22:45:31blueyedsetmessageid: <1555973131.62.0.231212348658.issue35824@roundup.psfhosted.org>
2019-04-22 22:45:31blueyedlinkissue35824 messages
2019-04-22 22:45:31blueyedcreate