1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 chunked Transfer-Encoding 7 </keywords> 8 </info> 9 # 10 # Server-side 11 <reply> 12 <data nocheck="yes"> 13 HTTP/1.1 200 funky chunky! 14 Server: fakeit/0.9 fakeitbad/1.0 15 Transfer-Encoding: chunked 16 Connection: mooo 17 18 12345678123456789 19 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 20 30 21 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 22 21;heresatest=moooo 23 cccccccccccccccccccccccccccccccc 24 25 0 26 27 </data> 28 </reply> 29 30 # 31 # Client-side 32 <client> 33 <server> 34 http 35 </server> 36 <name> 37 HTTP GET with chunked Transfer-Encoding overflowed chunked size 38 </name> 39 <command> 40 http://%HOSTIP:%HTTPPORT/1416 41 </command> 42 </client> 43 44 # 45 # Verify data after the test has been "shot" 46 <verify> 47 <strip> 48 ^User-Agent:.* 49 </strip> 50 <protocol> 51 GET /1416 HTTP/1.1 52 Host: %HOSTIP:%HTTPPORT 53 Accept: */* 54 55 </protocol> 56 57 # 56 = CURLE_RECV_ERROR 58 <errorcode> 59 56 60 </errorcode> 61 </verify> 62 63 </testcase> 64