xref: /curl/tests/data/test29 (revision e70c22b6)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6timeout
7FAILURE
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK swsclose
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Connection: close
16
17_data_result_data_
18</data>
19<postcmd>
20wait 10
21</postcmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29<killserver>
30http
31</killserver>
32<name>
33HTTP with 2 secs timeout
34</name>
35<command>
36http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -m 2
37</command>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET /want/%TESTNUMBER HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45User-Agent: curl/%VERSION
46Accept: */*
47
48</protocol>
49<errorcode>
5028
51</errorcode>
52</verify>
53</testcase>
54