xref: /curl/tests/data/test1942 (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 100 continue
13Date: Thu, 09 Nov 2010 14:49:00 GMT
14Server: maybe different
15
16HTTP/1.1 200 OK
17Date: Thu, 09 Nov 2010 14:49:00 GMT
18Server:       test with trailing space
19Content-Type: text/html
20Content-Length: 0
21Set-Cookie: onecookie=data;
22Set-Cookie: secondcookie=2data;
23Set-Cookie: cookie3=data3;
24Location: /%TESTNUMBER0002
25
26</data>
27</reply>
28
29# Client-side
30<client>
31<features>
32http
33headers-api
34</features>
35<server>
36http
37</server>
38
39<name>
40curl_easy_header with 1xx response
41</name>
42<tool>
43lib1940
44</tool>
45
46<command>
47http://%HOSTIP:%HTTPPORT/%TESTNUMBER
48</command>
49</client>
50
51# Verify data after the test has been "shot"
52<verify>
53<stdout>
54 Date == Thu, 09 Nov 2010 14:49:00 GMT
55 Server == test with trailing space
56 Content-Type == text/html
57 Content-Length == 0
58 Location == /%TESTNUMBER0002
59- Set-Cookie == onecookie=data; (0/3)
60- Set-Cookie == secondcookie=2data; (1/3)
61- Set-Cookie == cookie3=data3; (2/3)
62 Date == Thu, 09 Nov 2010 14:49:00 GMT
63 Server == maybe different
64</stdout>
65</verify>
66</testcase>
67