1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6chunked Transfer-Encoding 7</keywords> 8</info> 9# 10# Server-side 11<reply> 12<data> 13HTTP/1.1 200 funky chunky! 14Server: fakeit/0.9 fakeitbad/1.0 15Transfer-Encoding: chunked 16Trailer: chunky-trailer 17Connection: mooo 18 1940 20aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2130 22bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2321;heresatest=moooo 24cccccccccccccccccccccccccccccccc 25 260 27chunky-trailer: header data 28 29</data> 30<datacheck> 31HTTP/1.1 200 funky chunky! 32Server: fakeit/0.9 fakeitbad/1.0 33Transfer-Encoding: chunked 34Trailer: chunky-trailer 35Connection: mooo 36 37aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc 38chunky-trailer: header data 39</datacheck> 40</reply> 41 42# 43# Client-side 44<client> 45<server> 46http 47</server> 48<name> 49HTTP GET with chunked encoding and chunked trailer without CRs 50</name> 51<command> 52http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER 53</command> 54</client> 55 56# 57# Verify data after the test has been "shot" 58<verify> 59<protocol> 60GET /%TESTNUMBER HTTP/1.1 61Host: %HOSTIP:%HTTPPORT 62User-Agent: curl/%VERSION 63Accept: */* 64 65</protocol> 66<file name="%LOGDIR/heads%TESTNUMBER"> 67HTTP/1.1 200 funky chunky! 68Server: fakeit/0.9 fakeitbad/1.0 69Transfer-Encoding: chunked 70Trailer: chunky-trailer 71Connection: mooo 72 73chunky-trailer: header data 74</file> 75</verify> 76 77</testcase> 78