MCPcopy Index your code
hub / github.com/python/cpython / test_http2time_garbage

Method test_http2time_garbage

Lib/test/test_http_cookiejar.py:125–126  ·  view source on GitHub ↗
(self, test)

Source from the content-addressed store, hash-verified

123 'Wed, 09 Feb 1994834 22:23:32 GMT',
124 ])
125 def test_http2time_garbage(self, test):
126 self.assertIsNone(http2time(test))
127
128 def test_http2time_redos_regression_actually_completes(self):
129 # LOOSE_HTTP_DATE_RE was vulnerable to malicious input which caused catastrophic backtracking (REDoS).

Callers

nothing calls this directly

Calls 2

http2timeFunction · 0.90
assertIsNoneMethod · 0.80

Tested by

no test coverage detected