]> granicus.if.org Git - python/commit
bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 13 Sep 2019 11:47:51 +0000 (04:47 -0700)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2019 11:47:51 +0000 (04:47 -0700)
commit44cb89a78a308b7a613bdd01539ec84be914d693
tree05cb269aab75c3a5a87afbffd7132506123da018
parentb9bfe143d151d184615fa3890f78874c5d4ed4c6
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
(cherry picked from commit bb41147eab15a2958f4ad38261e5bf608f6ace1b)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
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]