A minor "syntax error" in numerous test files corrected
[platform/upstream/curl.git] / tests / data / test164
1 # Server-side
2 # This particular response is an exact excerpt from an actual Apache
3 # server when asked for a 0-10,12-15 range.
4 <reply>
5 <data>
6 HTTP/1.1 206 Partial Content swsclose\r
7 Date: Sat, 24 Apr 2004 09:24:49 GMT\r
8 Server: Apache/1.3.29 (Unix) mod_throttle/3.1.2 PHP/4.3.4 mod_fastcgi/2.4.0\r
9 Last-Modified: Tue, 23 Mar 2004 08:23:14 GMT\r
10 ETag: "53814a-ec5-405ff3f2"\r
11 Accept-Ranges: bytes\r
12 Content-Length: 187\r
13 Content-Type: multipart/byteranges; boundary=408a326132c\r
14 \r
15 --408a326132c\r
16 Content-type: text/html\r
17 Content-range: bytes 0-10/3781\r
18 \r
19 <html>
20 <hea
21 \r
22 --408a326132c\r
23 Content-type: text/html\r
24 Content-range: bytes 12-15/3781\r
25 \r
26 >
27 <t
28 \r
29 --408a326132c--\r
30 </data>
31 </reply>
32
33 # Client-side
34 <client>
35 <server>
36 http
37 </server>
38  <name>
39 HTTP range with multiple ranges
40  </name>
41  <command>
42 http://%HOSTIP:%HTTPPORT/want/164 -r 0-10,12-15
43 </command>
44 </client>
45
46 # Verify data after the test has been "shot"
47 <verify>
48 <strip>
49 ^User-Agent:.*
50 </strip>
51 <protocol>
52 GET /want/164 HTTP/1.1\r
53 Range: bytes=0-10,12-15\r
54 Host: 127.0.0.1:%HTTPPORT\r
55 Pragma: no-cache\r
56 Accept: */*\r
57 \r
58 </protocol>
59 </verify>