xref: /curl/tests/data/test1940 (revision a9e128d5)
1<testcase>
2<info>
3<keywords>
4curl_easy_header
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<data nocheck="yes">
11HTTP/1.1 200 OK
12Date: Thu, 09 Nov 2010 14:49:00 GMT
13Server:       test with trailing space
14Content-Type: text/html
15Fold: is
16 folding a
17   line
18Content-Length: 0
19Set-Cookie: onecookie=data;
20Set-Cookie: secondcookie=2data;
21Set-Cookie: cookie3=data3;
22Blank:
23Blank2:
24Location: /%TESTNUMBER0002
25
26</data>
27</reply>
28
29# Client-side
30<client>
31<features>
32headers-api
33</features>
34<server>
35http
36</server>
37
38<name>
39curl_easy_header
40</name>
41<tool>
42lib%TESTNUMBER
43</tool>
44
45<command>
46http://%HOSTIP:%HTTPPORT/%TESTNUMBER
47</command>
48</client>
49
50# Verify data after the test has been "shot"
51<verify>
52<stdout>
53 Date == Thu, 09 Nov 2010 14:49:00 GMT
54 Server == test with trailing space
55 Content-Type == text/html
56 Content-Length == 0
57 Location == /%TESTNUMBER0002
58- Set-Cookie == onecookie=data; (0/3)
59- Set-Cookie == secondcookie=2data; (1/3)
60- Set-Cookie == cookie3=data3; (2/3)
61 Fold == is folding a line
62 Blank ==
63 Blank2 ==
64</stdout>
65</verify>
66</testcase>
67