• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6CURLPAUSE_RECV
7chunked Transfer-Encoding
8Trailer:
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data>
15HTTP/1.1 200 OK swsclose
16Transfer-Encoding: chunked
17Trailer: MyCoolTrailerHeader
18
194
20data
215
22d474
23
240
25MyCoolTrailerHeader: amazingtrailer
26
27</data>
28<datacheck>
29HTTP/1.1 200 OK swsclose
30Transfer-Encoding: chunked
31Trailer: MyCoolTrailerHeader
32
33Got 4 bytes but pausing!
34datad474
35MyCoolTrailerHeader: amazingtrailer
36</datacheck>
37
38</reply>
39# Client-side
40<client>
41<server>
42http
43</server>
44<tool>
45lib1540
46</tool>
47 <name>
48chunked with trailers and pausing the receive
49 </name>
50 <command>
51http://%HOSTIP:%HTTPPORT/1540
52</command>
53</client>
54
55# Verify data after the test has been "shot"
56<verify>
57<protocol>
58GET /1540 HTTP/1.1
59Host: %HOSTIP:%HTTPPORT
60Accept: */*
61
62</protocol>
63</verify>
64</testcase>
65