Message 340684 - Python tracker

Message340684

Author blueyed
Recipients MeiK, blueyed, martin.panter, xtreak
Date 2019-04-22.23:08:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555974499.68.0.935130275368.issue35824@roundup.psfhosted.org>
In-reply-to
Content
http.cookiejar parses this correctly, using http2time:

    >>> import http.cookiejar
    >>> http.cookiejar.parse_ns_headers(["has_recent_activity=1; path=/; expires=Mon, 22 Apr 2019 23:27:18 -0000"])
    [[('has_recent_activity', '1'), ('path', '/'), ('expires', 1555975638), ('version', '0')]]

Ref: https://github.com/python/cpython/blob/9f316bd9684d27b7e21fbf43ca86dc5e65dac4af/Lib/http/cookiejar.py#L204-L249
History
Date User Action Args
2019-04-22 23:08:19blueyedsetrecipients: + blueyed, martin.panter, xtreak, MeiK
2019-04-22 23:08:19blueyedsetmessageid: <1555974499.68.0.935130275368.issue35824@roundup.psfhosted.org>
2019-04-22 23:08:19blueyedlinkissue35824 messages
2019-04-22 23:08:19blueyedcreate