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