keyword update
[platform/upstream/curl.git] / tests / data / test99
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 Resume
6 FAILURE
7 </keywords>
8 </info>
9 #
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 404 Nah
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Connection: close
16 Content-Length: 13
17 Funny-head: yesyes
18
19 0123456789123
20 </data>
21
22 <datacheck>
23 HTTP/1.1 404 Nah
24 Date: Thu, 09 Nov 2010 14:49:00 GMT
25 Connection: close
26 Content-Length: 13
27 Funny-head: yesyes
28
29 </datacheck>
30 </reply>
31
32 #
33 # Client-side
34 <client>
35 <features>
36 large_file
37 </features>
38 <server>
39 http
40 </server>
41  <name>
42 HTTP GET with large-file resume point and failed resume
43  </name>
44  <command>
45 http://%HOSTIP:%HTTPPORT/99 -C 9999999999
46 </command>
47 </client>
48
49 #
50 # Verify data after the test has been "shot"
51 <verify>
52 # 33 is CURLE_HTTP_RANGE_ERROR
53 <errorcode>
54 33
55 </errorcode>
56 <strip>
57 ^User-Agent:.*
58 </strip>
59 <protocol>
60 GET /99 HTTP/1.1\r
61 Range: bytes=9999999999-\r
62 Host: 127.0.0.1:%HTTPPORT\r
63 Pragma: no-cache\r
64 Accept: */*\r
65 \r
66 </protocol>
67 </verify>