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