xref: /curl/tests/data/test341 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8#
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 funky chunky!
13Server: fakeit/0.9 fakeitbad/1.0
14Transfer-Encoding: chunked
15Trailer: chunky-trailer
16Connection: mooo
17ETag: "asdf"
18
1940
20aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2130
22bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2321;heresatest=moooo
24cccccccccccccccccccccccccccccccc
25
260
27chunky-trailer: header data
28
29</data>
30</reply>
31
32#
33# Client-side
34<client>
35<server>
36http
37</server>
38<name>
39Try to open a non existing file with --etag-compare should return an error
40</name>
41<command>
42http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
43</command>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49<errorcode>
5026
51</errorcode>
52</verify>
53
54</testcase>
55