Annotation of embedaddon/curl/tests/data/test341, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: </keywords>
7: </info>
8: #
9: # Server-side
10: <reply>
11: <data nocheck="yes">
12: HTTP/1.1 200 funky chunky!
13: Server: fakeit/0.9 fakeitbad/1.0
14: Transfer-Encoding: chunked
15: Trailer: chunky-trailer
16: Connection: mooo
17: ETag: "asdf"
18:
19: 40
20: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
21: 30
22: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
23: 21;heresatest=moooo
24: cccccccccccccccccccccccccccccccc
25:
26: 0
27: chunky-trailer: header data
28:
29: </data>
30: </reply>
31:
32: #
33: # Client-side
34: <client>
35: <server>
36: http
37: </server>
38: <name>
39: Try to open a non existing file with --etag-compare should return an error
40: </name>
41: <command>
42: http://%HOSTIP:%HTTPPORT/341 --etag-compare log/etag341
43: </command>
44: </client>
45:
46: #
47: # Verify data after the test has been "shot"
48: <verify>
49: <strip>
50: ^User-Agent:.*
51: </strip>
52: <errorcode>
53: 26
54: </errorcode>
55: </verify>
56:
57: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>