Annotation of embedaddon/curl/tests/data/test1116, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: chunked Transfer-Encoding
7: </keywords>
8: </info>
9: #
10: # Server-side
11: <reply>
12: <data>
13: HTTP/1.1 200 funky chunky!
14: Server: fakeit/0.9 fakeitbad/1.0
15: Transfer-Encoding: chunked
16: Connection: mooo
17:
18: 40
19: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
20: 30
21: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
22: 21;heresatest=moooo
23: cccccccccccccccccccccccccccccccc
24:
25: 0
26: chunky-trailer: header data
27: another-header: yes
28:
29: </data>
30: <datacheck>
31: HTTP/1.1 200 funky chunky!
32: Server: fakeit/0.9 fakeitbad/1.0
33: Transfer-Encoding: chunked
34: Connection: mooo
35:
36: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
37: chunky-trailer: header data
38: another-header: yes
39: </datacheck>
40: </reply>
41:
42: #
43: # Client-side
44: <client>
45: <server>
46: http
47: </server>
48: <name>
49: HTTP GET with chunked trailer without Trailer:
50: </name>
51: <command>
52: http://%HOSTIP:%HTTPPORT/1116 -D log/heads1116
53: </command>
54: </client>
55:
56: #
57: # Verify data after the test has been "shot"
58: <verify>
59: <strip>
60: ^User-Agent:.*
61: </strip>
62: <protocol>
63: GET /1116 HTTP/1.1
64: Host: %HOSTIP:%HTTPPORT
65: Accept: */*
66:
67: </protocol>
68: <file name="log/heads1116">
69: HTTP/1.1 200 funky chunky!
70: Server: fakeit/0.9 fakeitbad/1.0
71: Transfer-Encoding: chunked
72: Connection: mooo
73:
74: chunky-trailer: header data
75: another-header: yes
76: </file>
77: </verify>
78:
79: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>