willy tarreau | 0f7af91 | 2005-12-17 12:21:26 +0100 | [diff] [blame] | 1 | main() { |
2 | write(1, "HTTP", 4); | ||||
3 | write(1, "/1.0", 4); | ||||
4 | write(1, " 200", 4); | ||||
5 | write(1, " OK\r\n", 5); | ||||
6 | write(1, "TOTO: 1\r\n", 9); | ||||
7 | write(1, "Hdr2: 2\r\n", 9); | ||||
8 | write(1, "Hdr3:", 5); | ||||
9 | write(1, " 2\r\n", 4); | ||||
10 | write(1, "\r\n\r\n", 4); | ||||
11 | write(1, "DATA\r\n", 6); | ||||
12 | } | ||||
13 |