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