test case converted to the new file format
[platform/upstream/curl.git] / tests / data / test12
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 206 Partial Content
5 Date: Mon, 13 Nov 2000 13:41:09 GMT
6 Server: Apache/1.3.11 (Unix) PHP/3.0.14
7 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
8 ETag: "21025-dc7-39462498"
9 Accept-Ranges: bytes
10 Content-Length: 101
11 Content-Range: bytes 100-200/3527
12 Connection: close
13 Content-Type: text/html
14
15 ink="#ffffff" vlink="#cccccc">
16 <table width=100% cellspacing=0 cellpadding=0 border=0>
17  <tr> 0123456
18 </data>
19 </reply>
20
21 # Client-side
22 <client>
23  <name>
24 HTTP range support
25  </name>
26  <command>
27 http://%HOSTIP:%HOSTPORT/want/12 -r 100-200
28 </command>
29 </test>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent:.*
35 </strip>
36 <protocol>
37 GET /want/12 HTTP/1.1\r
38 Range: bytes=100-200\r
39 Host: 127.0.0.1:8999\r
40 Pragma: no-cache\r
41 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
42 \r
43 </protocol>
44 </verify>