Debian Codegraph @

curl/tests/data/test12

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 Range
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 HTTP/1.1 206 Partial Content
12 Date: Mon, 13 Nov 2000 13:41:09 GMT
13 Server: Apache/1.3.11 (Unix) PHP/3.0.14
14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15 ETag: "21025-dc7-39462498"
16 Accept-Ranges: bytes
17 Content-Length: 101
18 Content-Range: bytes 100-200/3527
19 Connection: close
20 Content-Type: text/html
21
22 ink="#ffffff" vlink="#cccccc">
23 <table width=100% cellspacing=0 cellpadding=0 border=0>
24 <tr> 0123456
25 </data>
26 </reply>
27
28 # Client-side
29 <client>
30 <server>
31 http
32 </server>
33 <name>
34 HTTP range support
35 </name>
36 <command>
37 http://%HOSTIP:%HTTPPORT/want/12 -r 100-200
38 </command>
39 </client>
40
41 # Verify data after the test has been "shot"
42 <verify>
43 <strip>
44 ^User-Agent:.*
45 </strip>
46 <protocol>
47 GET /want/12 HTTP/1.1
48 Range: bytes=100-200
49 Host: 127.0.0.1:%HTTPPORT
50 Accept: */*
51
52 </protocol>
53 </verify>