Home
last modified time | relevance | path

Searched refs:http2time (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_cookielib.py9 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/cpython3/Lib/test/
Dtest_http_cookiejar.py10 from http.cookiejar import (time2isoz, http2time, iso2time, time2netscape,
58 return time.gmtime(http2time(text))[:6]
100 self.assertEqual(http2time(s), test_t, s)
101 self.assertEqual(http2time(s.lower()), test_t, s.lower())
102 self.assertEqual(http2time(s.upper()), test_t, s.upper())
121 self.assertIsNone(http2time(test),
123 "http2time(test) %s" % (test, http2time(test)))
/external/python/cpython2/Lib/
Dcookielib.py212 def http2time(text): function
501 val = http2time(_strip_quotes(val)) # None if invalid
/external/python/cpython3/Lib/http/
Dcookiejar.py220 def http2time(text): function
509 val = http2time(strip_quotes(val)) # None if invalid
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst988 cookiejar.http2time() now returns None if year is higher than
D3.6.0a1.rst1583 cookiejar.http2time() now returns None if year is higher than