test1546 (780B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 Transfer-Encoding 7 </keywords> 8 </info> 9 # 10 # Server-side 11 <reply> 12 <data> 13 HTTP/1.1 200 OK 14 Date: Mon, 29 Nov 2004 21:56:53 GMT 15 Server: Apache 16 Transfer-Encoding: chunked, gzip 17 18 0 19 20 </data> 21 22 <datacheck> 23 HTTP/1.1 200 OK 24 Date: Mon, 29 Nov 2004 21:56:53 GMT 25 Server: Apache 26 </datacheck> 27 28 </reply> 29 30 # 31 # Client-side 32 <client> 33 <features> 34 libz 35 </features> 36 <server> 37 http 38 </server> 39 <name> 40 HTTP transfer-encoding wrong order 41 </name> 42 <command> 43 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding 44 </command> 45 </client> 46 47 # 48 # Verify data after the test has been "shot" 49 <verify> 50 <protocol> 51 GET /%TESTNUMBER HTTP/1.1 52 Host: %HOSTIP:%HTTPPORT 53 User-Agent: curl/%VERSION 54 Accept: */* 55 Connection: TE 56 TE: gzip 57 58 </protocol> 59 <errorcode> 60 61 61 </errorcode> 62 </verify> 63 </testcase>