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 38</datacheck> 39</reply> 40 41# 42# Client-side 43<client> 44<server> 45http 46</server> 47 <name> 48HTTP GET with chunked encoding and chunked trailer without CRs 49 </name> 50 <command> 51http://%HOSTIP:%HTTPPORT/1417 -D log/heads1417 52</command> 53</client> 54 55# 56# Verify data after the test has been "shot" 57<verify> 58<strip> 59^User-Agent:.* 60</strip> 61<protocol> 62GET /1417 HTTP/1.1 63Host: %HOSTIP:%HTTPPORT 64Accept: */* 65 66</protocol> 67<file name="log/heads1417"> 68HTTP/1.1 200 funky chunky! 69Server: fakeit/0.9 fakeitbad/1.0 70Transfer-Encoding: chunked 71Trailer: chunky-trailer 72Connection: mooo 73 74chunky-trailer: header data 75</file> 76</verify> 77 78</testcase> 79