cpython-http2time

About this case

CPython http.cookiejar's http2time tests. The answers match on 16 of 56 lines; 40 more are lines CPython accepts but RFC 9110 doesn't.

Topics
lenient
Input
56 lines, 2 valid · 1.1 KiB · raw text
Output
452 B
Archive
000034_must_render_exactly/input

Input

Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab.

# Line Expected CPython’s http.cookiejar tests says
1 Thu, 03 Feb 1994 00:00:00 GMT 760233600 760233600 (test_http_cookiejar.py:77)
2 thu, 03 feb 1994 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:77, lowercased)

CPython accepts more than RFC 9110 allows.

3 THU, 03 FEB 1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:77, uppercased)

CPython accepts more than RFC 9110 allows.

4 Thursday, 03-Feb-94 00:00:00 GMT 760233600 760233600 (test_http_cookiejar.py:78)
5 thursday, 03-feb-94 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:78, lowercased)

CPython accepts more than RFC 9110 allows.

6 THURSDAY, 03-FEB-94 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:78, uppercased)

CPython accepts more than RFC 9110 allows.

7 Thursday, 03-Feb-1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:79)

CPython accepts more than RFC 9110 allows.

8 thursday, 03-feb-1994 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:79, lowercased)

CPython accepts more than RFC 9110 allows.

9 THURSDAY, 03-FEB-1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:79, uppercased)

CPython accepts more than RFC 9110 allows.

10 03 Feb 1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:81)

CPython accepts more than RFC 9110 allows.

11 03 feb 1994 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:81, lowercased)

CPython accepts more than RFC 9110 allows.

12 03 FEB 1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:81, uppercased)

CPython accepts more than RFC 9110 allows.

13 03-Feb-94 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:82)

CPython accepts more than RFC 9110 allows.

14 03-feb-94 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:82, lowercased)

CPython accepts more than RFC 9110 allows.

15 03-FEB-94 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:82, uppercased)

CPython accepts more than RFC 9110 allows.

16 03-Feb-1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:83)

CPython accepts more than RFC 9110 allows.

17 03-feb-1994 00:00:00 gmt invalid 760233600 (test_http_cookiejar.py:83, lowercased)

CPython accepts more than RFC 9110 allows.

18 03-FEB-1994 00:00:00 GMT invalid 760233600 (test_http_cookiejar.py:83, uppercased)

CPython accepts more than RFC 9110 allows.

19 03-Feb-1994 00:00 GMT invalid 760233600 (test_http_cookiejar.py:84)

CPython accepts more than RFC 9110 allows.

20 03-feb-1994 00:00 gmt invalid 760233600 (test_http_cookiejar.py:84, lowercased)

CPython accepts more than RFC 9110 allows.

21 03-FEB-1994 00:00 GMT invalid 760233600 (test_http_cookiejar.py:84, uppercased)

CPython accepts more than RFC 9110 allows.

22 03-Feb-1994 00:00 invalid 760233600 (test_http_cookiejar.py:85)

CPython accepts more than RFC 9110 allows.

23 03-feb-1994 00:00 invalid 760233600 (test_http_cookiejar.py:85, lowercased)

CPython accepts more than RFC 9110 allows.

24 03-FEB-1994 00:00 invalid 760233600 (test_http_cookiejar.py:85, uppercased)

CPython accepts more than RFC 9110 allows.

25 02-Feb-1994 24:00 invalid 760233600 (test_http_cookiejar.py:86)

CPython accepts more than RFC 9110 allows.

26 02-feb-1994 24:00 invalid 760233600 (test_http_cookiejar.py:86, lowercased)

CPython accepts more than RFC 9110 allows.

27 02-FEB-1994 24:00 invalid 760233600 (test_http_cookiejar.py:86, uppercased)

CPython accepts more than RFC 9110 allows.

28 03-Feb-94 invalid 760233600 (test_http_cookiejar.py:89)

CPython accepts more than RFC 9110 allows.

29 03-feb-94 invalid 760233600 (test_http_cookiejar.py:89, lowercased)

CPython accepts more than RFC 9110 allows.

30 03-FEB-94 invalid 760233600 (test_http_cookiejar.py:89, uppercased)

CPython accepts more than RFC 9110 allows.

31 03-Feb-1994 invalid 760233600 (test_http_cookiejar.py:90)

CPython accepts more than RFC 9110 allows.

32 03-feb-1994 invalid 760233600 (test_http_cookiejar.py:90, lowercased)

CPython accepts more than RFC 9110 allows.

33 03-FEB-1994 invalid 760233600 (test_http_cookiejar.py:90, uppercased)

CPython accepts more than RFC 9110 allows.

34 03 Feb 1994 invalid 760233600 (test_http_cookiejar.py:91)

CPython accepts more than RFC 9110 allows.

35 03 feb 1994 invalid 760233600 (test_http_cookiejar.py:91, lowercased)

CPython accepts more than RFC 9110 allows.

36 03 FEB 1994 invalid 760233600 (test_http_cookiejar.py:91, uppercased)

CPython accepts more than RFC 9110 allows.

37 03 Feb 1994 0:00 invalid 760233600 (test_http_cookiejar.py:94)

CPython accepts more than RFC 9110 allows.

38 03 feb 1994 0:00 invalid 760233600 (test_http_cookiejar.py:94, lowercased)

CPython accepts more than RFC 9110 allows.

39 03 FEB 1994 0:00 invalid 760233600 (test_http_cookiejar.py:94, uppercased)

CPython accepts more than RFC 9110 allows.

40 03-Feb-1994 invalid 760233600 (test_http_cookiejar.py:95)

CPython accepts more than RFC 9110 allows.

41 03-feb-1994 invalid 760233600 (test_http_cookiejar.py:95, lowercased)

CPython accepts more than RFC 9110 allows.

42 03-FEB-1994 invalid 760233600 (test_http_cookiejar.py:95, uppercased)

CPython accepts more than RFC 9110 allows.

43 invalid invalid (test_http_cookiejar.py:110)
44 Garbage invalid invalid (test_http_cookiejar.py:111)
45 Mandag 16. September 1996 invalid invalid (test_http_cookiejar.py:112)
46 01-00-1980 invalid invalid (test_http_cookiejar.py:113)
47 01-13-1980 invalid invalid (test_http_cookiejar.py:114)
48 00-01-1980 invalid invalid (test_http_cookiejar.py:115)
49 32-01-1980 invalid invalid (test_http_cookiejar.py:116)
50 01-01-1980 25:00:00 invalid invalid (test_http_cookiejar.py:117)
51 01-01-1980 00:61:00 invalid invalid (test_http_cookiejar.py:118)
52 01-01-1980 00:00:62 invalid invalid (test_http_cookiejar.py:119)
53 08-Oct-3697739 invalid invalid (test_http_cookiejar.py:120)
54 08-01-3697739 invalid invalid (test_http_cookiejar.py:121)
55 09 Feb 19942632 22:23:32 GMT invalid invalid (test_http_cookiejar.py:122)
56 Wed, 09 Feb 1994834 22:23:32 GMT invalid invalid (test_http_cookiejar.py:123)

Expected output

The output must match these bytes exactly.

760233600
invalid
invalid
760233600
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid