Searched refs:http2time (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_http_cookiejar.py | 15 from http.cookiejar import (time2isoz, http2time, iso2time, time2netscape, namespace 64 return time.gmtime(http2time(text))[:6] 75 # test http2time for supported dates. Test cases with 2 digit year 106 self.assertEqual(http2time(s), test_t, s) 107 self.assertEqual(http2time(s.lower()), test_t, s.lower()) 108 self.assertEqual(http2time(s.upper()), test_t, s.upper()) 127 self.assertIsNone(http2time(test), 128 "http2time(%s) is not None\n" 129 "http2time(test) %s" % (test, http2time(tes [all...] |
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 232 def http2time(text): function 308 As for http2time, but parses the ISO 8601 formats: 523 val = http2time(strip_quotes(val)) # None if invalid
|
Completed in 4 milliseconds