Debian Codegraph @

curl/tests/data/test29

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 timeout
6 FAILURE
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Connection: close
15
16 <html>result</html>
17 </data>
18 <postcmd>
19 wait 10
20 </postcmd>
21 </reply>
22
23 # Client-side
24 <client>
25 <server>
26 http
27 </server>
28 <name>
29 HTTP with 2 secs timeout
30 </name>
31 <command>
32 http://%HOSTIP:%HTTPPORT/want/29 -m 2
33 </command>
34 </client>
35
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 GET /want/29 HTTP/1.1
43 Host: 127.0.0.1:%HTTPPORT
44 Accept: */*
45
46 </protocol>
47 <errorcode>
48 28
49 </errorcode>
50 </verify>