xref: /curl/tests/data/test341 (revision 7347ddc9)
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>
39A non existing file with --etag-compare is just a blank
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<protocol>
50GET /%TESTNUMBER HTTP/1.1
51Host: %HOSTIP:%HTTPPORT
52User-Agent: curl/%VERSION
53Accept: */*
54If-None-Match: ""
55
56</protocol>
57</verify>
58
59</testcase>
60