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 16Connection: mooo 17 1840 19aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2030 21bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2221;heresatest=moooo 23cccccccccccccccccccccccccccccccc 24 250 26chunky-trailer: header data 27another-header: yes 28 29</data> 30<datacheck> 31HTTP/1.1 200 funky chunky! 32Server: fakeit/0.9 fakeitbad/1.0 33Transfer-Encoding: chunked 34Connection: mooo 35 36aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc 37</datacheck> 38</reply> 39 40# 41# Client-side 42<client> 43<server> 44http 45</server> 46 <name> 47HTTP GET with chunked trailer without Trailer: 48 </name> 49 <command> 50http://%HOSTIP:%HTTPPORT/1116 -D log/heads1116 51</command> 52</client> 53 54# 55# Verify data after the test has been "shot" 56<verify> 57<strip> 58^User-Agent:.* 59</strip> 60<protocol> 61GET /1116 HTTP/1.1 62Host: %HOSTIP:%HTTPPORT 63Accept: */* 64 65</protocol> 66<file name="log/heads1116"> 67HTTP/1.1 200 funky chunky! 68Server: fakeit/0.9 fakeitbad/1.0 69Transfer-Encoding: chunked 70Connection: mooo 71 72chunky-trailer: header data 73another-header: yes 74</file> 75</verify> 76 77</testcase> 78