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