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