• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: W/"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>
39Check if --etag-save saved correct etag to a file
40</name>
41<command>
42http://%HOSTIP:%HTTPPORT/339 --etag-save log/etag339
43</command>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49<protocol>
50GET /339 HTTP/1.1
51Host: %HOSTIP:%HTTPPORT
52User-Agent: curl/%VERSION
53Accept: */*
54
55</protocol>
56<file name="log/etag339">
57W/"asdf"
58</file>
59</verify>
60
61</testcase>
62