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