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 17Connection: mooo 18 1940 20aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2130 22bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 2321;heresatest=moooo 24cccccccccccccccccccccccccccccccc 25 260 27%if !hyper 28chunky-trailer: header data 29another-header: yes 30%endif 31 32</data> 33<datacheck> 34HTTP/1.1 200 funky chunky! 35Server: fakeit/0.9 fakeitbad/1.0 36Transfer-Encoding: chunked 37Connection: mooo 38 39aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc 40%if !hyper 41chunky-trailer: header data 42another-header: yes 43%endif 44</datacheck> 45<servercmd> 46writedelay: 10 47</servercmd> 48</reply> 49 50# 51# Client-side 52<client> 53<server> 54http 55</server> 56<name> 57HTTP GET with chunked trailer without Trailer: 58</name> 59<command> 60http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER 61</command> 62</client> 63 64# 65# Verify data after the test has been "shot" 66<verify> 67<protocol> 68GET /%TESTNUMBER HTTP/1.1 69Host: %HOSTIP:%HTTPPORT 70User-Agent: curl/%VERSION 71Accept: */* 72 73</protocol> 74<file name="%LOGDIR/heads%TESTNUMBER"> 75HTTP/1.1 200 funky chunky! 76Server: fakeit/0.9 fakeitbad/1.0 77Transfer-Encoding: chunked 78Connection: mooo 79 80%if !hyper 81chunky-trailer: header data 82another-header: yes 83%endif 84</file> 85</verify> 86 87</testcase> 88