1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6chunked Transfer-Encoding 7Trailer: 8DELAY 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<data> 15HTTP/1.1 200 OK swsclose 16Transfer-Encoding: chunked 17 184 19data 205 21d474 22 230 24 25</data> 26<datacheck> 27CURLINFO_CONNECT_TIME_T on 1st header is OK 28CURLINFO_PRETRANSFER_TIME_T on 1st header is OK 29CURLINFO_STARTTRANSFER_TIME_T on 1st header is OK 30CURLINFO_TOTAL_TIME_T on 1st header is OK 31CURLINFO_APPCONNECT_TIME_T on 1st header is OK 32CURLINFO_SPEED_DOWNLOAD_T on 1st header is OK 33HTTP/1.1 200 OK swsclose 34Transfer-Encoding: chunked 35 36datad474 37CURLINFO_CONNECT_TIME_T on done is OK 38CURLINFO_PRETRANSFER_TIME_T on done is OK 39CURLINFO_POSTTRANSFER_TIME_T on done is OK 40CURLINFO_STARTTRANSFER_TIME_T on done is OK 41CURLINFO_APPCONNECT_TIME_T on done is OK 42CURLINFO_SPEED_DOWNLOAD_T on done is OK 43CURLINFO_TOTAL_TIME_T on done is OK 44</datacheck> 45<servercmd> 46writedelay: 10 47</servercmd> 48</reply> 49# Client-side 50<client> 51<server> 52http 53</server> 54<tool> 55lib%TESTNUMBER 56</tool> 57<name> 58chunked with trailers and pausing the receive 59</name> 60<command> 61http://%HOSTIP:%HTTPPORT/%TESTNUMBER 62</command> 63</client> 64 65# Verify data after the test has been "shot" 66<verify> 67<protocol> 68GET /%TESTNUMBER HTTP/1.1 69Host: %HOSTIP:%HTTPPORT 70Accept: */* 71 72</protocol> 73</verify> 74</testcase> 75