Revert "Update to 7.44.0"
[platform/upstream/curl.git] / tests / data / test164
index f944bdb..227bd71 100644 (file)
@@ -1,6 +1,15 @@
+<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
@@ -16,15 +25,15 @@ Content-Type: multipart/byteranges; boundary=408a326132c
 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>
@@ -39,9 +48,9 @@ http
 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>
@@ -51,9 +60,9 @@ http://%HOSTIP:%HOSTPORT/want/164 -r 0-10,12-15
 <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>