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