1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6etags 7</keywords> 8</info> 9# 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.1 200 funky chunky! 14Server: fakeit/0.9 fakeitbad/1.0 15Transfer-Encoding: chunked 16Trailer: chunky-trailer 17Connection: mooo 18ETag: W/"asdf" 19 2040 21aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2230 23bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2421;heresatest=moooo 25cccccccccccccccccccccccccccccccc 26 270 28chunky-trailer: header data 29 30</data> 31</reply> 32 33# 34# Client-side 35<client> 36<server> 37http 38</server> 39<name> 40--etag-save with --create-dirs 41</name> 42<command> 43http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/moo/boo/etag%TESTNUMBER --create-dirs 44</command> 45</client> 46 47# 48# Verify data after the test has been "shot" 49<verify> 50<protocol> 51GET /%TESTNUMBER HTTP/1.1 52Host: %HOSTIP:%HTTPPORT 53User-Agent: curl/%VERSION 54Accept: */* 55 56</protocol> 57<file name="%LOGDIR/moo/boo/etag%TESTNUMBER"> 58W/"asdf" 59</file> 60</verify> 61 62</testcase> 63