test1124 (1216B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 compressed 7 Transfer-Encoding 8 chunked Transfer-Encoding 9 </keywords> 10 </info> 11 # 12 # Server-side 13 <reply> 14 <data> 15 HTTP/1.1 200 OK 16 Date: Mon, 29 Nov 2024 21:56:53 GMT 17 Server: Something-TE-friendly/0.1 18 Vary: Accept-Encoding 19 Content-Type: text/html; charset=ISO-8859-1 20 Transfer-Encoding: gzip, chunked 21 22 2c 23 %hex[%1f%8b%08%08%79%9e%ab%41%00%03%6c%61%6c%61%6c%61%00%cb%c9%cc%4b%55%30%e4%52%c8%01%d1%46%5c]hex% 24 %hex[%10%86%31%17%00]hex% 25 %hex[%02%71%60%18%00%00%00]hex% 26 0 27 28 </data> 29 30 <datacheck> 31 HTTP/1.1 200 OK 32 Date: Mon, 29 Nov 2024 21:56:53 GMT 33 Server: Something-TE-friendly/0.1 34 Vary: Accept-Encoding 35 Content-Type: text/html; charset=ISO-8859-1 36 Transfer-Encoding: gzip, chunked 37 38 line 1 39 line 2 40 line 3 41 </datacheck> 42 43 </reply> 44 45 # 46 # Client-side 47 <client> 48 <features> 49 libz 50 </features> 51 <server> 52 http 53 </server> 54 <name> 55 HTTP GET gzip+chunked transfer-encoded content 56 </name> 57 <command> 58 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding 59 </command> 60 </client> 61 62 # 63 # Verify data after the test has been "shot" 64 <verify> 65 <protocol> 66 GET /%TESTNUMBER HTTP/1.1 67 Host: %HOSTIP:%HTTPPORT 68 User-Agent: curl/%VERSION 69 Accept: */* 70 Connection: TE 71 TE: gzip 72 73 </protocol> 74 </verify> 75 </testcase>