xref: /curl/tests/data/test1943 (revision 7c8c7236)
1<testcase>
2<info>
3<keywords>
4curl_easy_header
5CONNECT
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 funky chunky!
13Server: fakeit/0.9 fakeitbad/1.0
14Date: Thu, 09 Nov 2010 14:49:00 GMT
15Transfer-Encoding: chunked
16Trailer: server
17Connection: mooo
18
1940
20aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2130
22bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2321;heresatest=moooo
24cccccccccccccccccccccccccccccccc
25
260
27Server: sent-as-trailer
28
29</data>
30</reply>
31
32# Client-side
33<client>
34<features>
35http
36headers-api
37</features>
38<server>
39http
40</server>
41
42<name>
43curl_easy_header with trailers
44</name>
45<tool>
46lib1940
47</tool>
48
49<command>
50http://%HOSTIP:%HTTPPORT/%TESTNUMBER
51</command>
52</client>
53
54# Verify data after the test has been "shot"
55<verify>
56<stdout>
57 Date == Thu, 09 Nov 2010 14:49:00 GMT
58 Server == fakeit/0.9 fakeitbad/1.0
59 Server == sent-as-trailer
60</stdout>
61</verify>
62</testcase>
63