aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1940
blob: 7f621b428df0617e21d3dab976bf18dd2297feb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<testcase>
<info>
<keywords>
curl_easy_header
</keywords>
</info>

# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server:       test with trailing space     
Content-Type: text/html
Fold: is
 folding a     
   line
Content-Length: 0
Set-Cookie: onecookie=data;
Set-Cookie: secondcookie=2data;
Set-Cookie: cookie3=data3;
Location: /%TESTNUMBER0002

</data>
</reply>

# Client-side
<client>
<features>
headers-api
</features>
<server>
http
</server>

<name>
curl_easy_header
</name>
<tool>
lib%TESTNUMBER
</tool>

<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<stdout>
 Date == Thu, 09 Nov 2010 14:49:00 GMT
 Server == test with trailing space
 Content-Type == text/html
 Content-Length == 0
 Location == /%TESTNUMBER0002
- Set-Cookie == onecookie=data; (0/3)
- Set-Cookie == secondcookie=2data; (1/3)
- Set-Cookie == cookie3=data3; (2/3)
 Fold == is folding a line
</stdout>
</verify>
</testcase>