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