Searched refs:http2time (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_http_cookiejar.py | 11 from http.cookiejar import (time2isoz, http2time, iso2time, time2netscape, 59 return time.gmtime(http2time(text))[:6] 101 self.assertEqual(http2time(s), test_t, s) 102 self.assertEqual(http2time(s.lower()), test_t, s.lower()) 103 self.assertEqual(http2time(s.upper()), test_t, s.upper()) 122 self.assertIsNone(http2time(test), 124 "http2time(test) %s" % (test, http2time(test))) 130 http2time("01 Jan 1970{}00:00:00 GMT!".format(" " * 10 ** 5)) 131 http2time("01 Jan 1970 00:00:00{}GMT!".format(" " * 10 ** 5))
|
/external/python/cpython2/Lib/test/ |
D | test_cookielib.py | 9 from cookielib import http2time, time2isoz, time2netscape 56 return time.gmtime(http2time(text))[:6] 98 self.assertEqual(http2time(s), test_t, s) 99 self.assertEqual(http2time(s.lower()), test_t, s.lower()) 100 self.assertEqual(http2time(s.upper()), test_t, s.upper()) 115 self.assertTrue(http2time(test) is None, 117 "http2time(test) %s" % (test, http2time(test))
|
/external/python/cpython2/Lib/ |
D | cookielib.py | 212 def http2time(text): function 501 val = http2time(_strip_quotes(val)) # None if invalid
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 225 def http2time(text): function 516 val = http2time(strip_quotes(val)) # None if invalid
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.2rc1.rst | 987 cookiejar.http2time() now returns None if year is higher than
|
D | 3.6.0a1.rst | 1582 cookiejar.http2time() now returns None if year is higher than
|