xref: /curl/tests/data/test99 (revision 18f1cd7a)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6Resume
7Largefile
8FAILURE
9</keywords>
10</info>
11#
12# Server-side
13<reply>
14<data>
15HTTP/1.1 404 Nah
16Date: Tue, 09 Nov 2010 14:49:00 GMT
17Connection: close
18Content-Length: 13
19Funny-head: yesyes
20
210123456789123
22</data>
23
24<datacheck>
25HTTP/1.1 404 Nah
26Date: Tue, 09 Nov 2010 14:49:00 GMT
27Connection: close
28Content-Length: 13
29Funny-head: yesyes
30
31</datacheck>
32</reply>
33
34#
35# Client-side
36<client>
37<features>
38Largefile
39</features>
40<server>
41http
42</server>
43<name>
44HTTP GET with large-file resume point and failed resume
45</name>
46<command>
47http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 9999999999
48</command>
49</client>
50
51#
52# Verify data after the test has been "shot"
53<verify>
54# 33 is CURLE_RANGE_ERROR
55<errorcode>
5633
57</errorcode>
58<protocol>
59GET /%TESTNUMBER HTTP/1.1
60Host: %HOSTIP:%HTTPPORT
61Range: bytes=9999999999-
62User-Agent: curl/%VERSION
63Accept: */*
64
65</protocol>
66</verify>
67</testcase>
68