+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+</keywords>
+</info>
+
# Server-side
# This particular response is an exact excerpt from an actual Apache
-# server when asked for a 0-10,12-15 range.
+# server when asked for a 0-10,12-15 range (except gt/lt changed to {}
+# to avoid XML escaping problems).
<reply>
<data>
HTTP/1.1 206 Partial Content swsclose\r
Content-type: text/html\r
Content-range: bytes 0-10/3781\r
\r
-<html>
-<hea
+{html}
+{hea
\r
--408a326132c\r
Content-type: text/html\r
Content-range: bytes 12-15/3781\r
\r
->
-<t
+}
+{t
\r
--408a326132c--\r
</data>
HTTP range with multiple ranges
</name>
<command>
-http://%HOSTIP:%HOSTPORT/want/164 -r 0-10,12-15
+http://%HOSTIP:%HTTPPORT/want/164 -r 0-10,12-15
</command>
-</test>
+</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /want/164 HTTP/1.1\r
Range: bytes=0-10,12-15\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</protocol>
</verify>
+</testcase>