]> granicus.if.org Git - python/commit
bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921)
authorXtreak <tir.karthi@gmail.com>
Fri, 13 Sep 2019 11:29:00 +0000 (12:29 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 13 Sep 2019 11:29:00 +0000 (04:29 -0700)
commitbb41147eab15a2958f4ad38261e5bf608f6ace1b
tree1a570af193941c5b9d86f5c7dd2e378017e73711
parentd31b31516c71890e8735606aec1dbf2bfb8fd6be
bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921)

Handle time comparison for cookies with `expires` attribute when `CookieJar.make_cookies` is called.

Co-authored-by: Demian Brecht <demianbrecht@gmail.com>
https://bugs.python.org/issue12144

Automerge-Triggered-By: @asvetlov
Lib/http/cookiejar.py
Lib/test/test_http_cookiejar.py
Misc/NEWS.d/next/Library/2019-06-08-23-26-58.bpo-12144.Z7mz-q.rst [new file with mode: 0644]