httpdate-tests

About this case

The Rust httpdate crate's tests. The answers match on every line.

Input
19 lines, 15 valid · 557 B · raw text
Output
152 B
Archive
000031_must_render_exactly/input

Input

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

# Line Expected Rust httpdate’s tests says
1 Sun, 06 Nov 1994 08:49:37 GMT 784111777 784111777 (lib.rs:76)
2 Sunday, 06-Nov-94 08:49:37 GMT 784111777 784111777 (lib.rs:80)
3 Sun Nov 6 08:49:37 1994 784111777 784111777 (lib.rs:82)
4 Sun, 02 Oct 2016 14:44:11 GMT 1475419451 1475419451 (lib.rs:90)
5 Sun Nov 10 08:00:00 1000 invalid invalid (lib.rs:92)
6 Sun Nov 10 08*00:00 2000 invalid invalid (lib.rs:93)
7 Sunday, 06-Nov-94 08+49:37 GMT invalid invalid (lib.rs:94)
8 Thu, 01 Jan 1970 00:00:00 GMT 0 0 (lib.rs:100)
9 Thu, 01 Jan 1970 01:00:00 GMT 3600 3600 (lib.rs:102)
10 Fri, 02 Jan 1970 01:00:00 GMT 90000 90000 (lib.rs:104)
11 Sun, 01 Feb 1970 01:00:00 GMT 2682000 2682000 (lib.rs:106)
12 Tue, 03 Mar 1970 01:00:00 GMT 5274000 5274000 (lib.rs:108)
13 Wed, 03 Mar 1971 01:00:05 GMT 36810005 36810005 (lib.rs:110)
14 Mon, 30 Aug 1971 01:00:05 GMT 52362005 52362005 (lib.rs:112)
15 Mon, 08 Nov 1971 01:00:05 GMT 58410005 58410005 (lib.rs:114)
16 Fri, 26 Mar 1999 01:00:05 GMT 922410005 922410005 (lib.rs:116)
17 Thu, 01 Jan 1970 00:00:00 GMT 0 0 (lib.rs:122)
18 Sun, 02 Oct 2016 14:44:11 GMT 1475419451 1475419451 (lib.rs:124)
19 Sun, 07 Nov 1994 08:48:37 GMT invalid invalid (lib.rs:157)

Expected output

The output must match these bytes exactly.

784111777
784111777
784111777
1475419451
invalid
invalid
invalid
0
3600
90000
2682000
5274000
36810005
52362005
58410005
922410005
0
1475419451
invalid