• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_STARTTRANSFER_TIME_T on done is OK
40CURLINFO_APPCONNECT_TIME_T on done is OK
41CURLINFO_SPEED_DOWNLOAD_T on done is OK
42CURLINFO_TOTAL_TIME_T on done is OK
43</datacheck>
44<servercmd>
45writedelay: 10
46</servercmd>
47</reply>
48# Client-side
49<client>
50<server>
51http
52</server>
53<tool>
54lib%TESTNUMBER
55</tool>
56<name>
57chunked with trailers and pausing the receive
58</name>
59<command>
60http://%HOSTIP:%HTTPPORT/%TESTNUMBER
61</command>
62</client>
63
64# Verify data after the test has been "shot"
65<verify>
66<protocol>
67GET /%TESTNUMBER HTTP/1.1
68Host: %HOSTIP:%HTTPPORT
69Accept: */*
70
71</protocol>
72</verify>
73</testcase>
74