Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1117
index 963f1ef..eb56a8d 100644 (file)
@@ -10,23 +10,23 @@ Range
 # Server-side
 <reply>
 <data nocheck="yes">
-HTTP/1.1 416 Requested Range Not Satisfiable\r
-Date: Thu, 09 Sep 2010 14:49:00 GMT\r
-Accept-Ranges: bytes\r
-Content-Length: 115\r
-\r
+HTTP/1.1 416 Requested Range Not Satisfiable
+Date: Thu, 09 Sep 2010 14:49:00 GMT
+Accept-Ranges: bytes
+Content-Length: 115
+
 This is a long error message that is large enough that the test server is
 guaranteed to split it into two packets.
 </data>
 
 <data1>
-HTTP/1.1 206 Partial Content\r
-Date: Thu, 09 Sep 2010 14:49:01 GMT\r
-Accept-Ranges: bytes\r
-Content-Range: bytes 10-18/155\r
-Content-Length: 13\r
-Content-Type: text/plain\r
-\r
+HTTP/1.1 206 Partial Content
+Date: Thu, 09 Sep 2010 14:49:01 GMT
+Accept-Ranges: bytes
+Content-Range: bytes 10-18/155
+Content-Length: 13
+Content-Type: text/plain
+
 partial body
 </data1>
 
@@ -51,20 +51,20 @@ HTTP with invalid range then another URL
 # Verify data after the test has been "shot"
 <verify>
 <stdout>
-HTTP/1.1 416 Requested Range Not Satisfiable\r
-Date: Thu, 09 Sep 2010 14:49:00 GMT\r
-Accept-Ranges: bytes\r
-Content-Length: 115\r
-\r
+HTTP/1.1 416 Requested Range Not Satisfiable
+Date: Thu, 09 Sep 2010 14:49:00 GMT
+Accept-Ranges: bytes
+Content-Length: 115
+
 This is a long error message that is large enough that the test server is
 guaranteed to split it into two packets.
-HTTP/1.1 206 Partial Content\r
-Date: Thu, 09 Sep 2010 14:49:01 GMT\r
-Accept-Ranges: bytes\r
-Content-Range: bytes 10-18/155\r
-Content-Length: 13\r
-Content-Type: text/plain\r
-\r
+HTTP/1.1 206 Partial Content
+Date: Thu, 09 Sep 2010 14:49:01 GMT
+Accept-Ranges: bytes
+Content-Range: bytes 10-18/155
+Content-Length: 13
+Content-Type: text/plain
+
 partial body
 </stdout>
 
@@ -72,16 +72,16 @@ partial body
 ^User-Agent:.*
 </strip>
 <protocol>
-GET /want/1117 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Range: bytes=10-22\r
-Accept: */*\r
-\r
-GET /wantmore/11170001 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Range: bytes=10-22\r
-Accept: */*\r
-\r
+GET /want/1117 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Range: bytes=10-22
+Accept: */*
+
+GET /wantmore/11170001 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Range: bytes=10-22
+Accept: */*
+
 </protocol>
 </verify>
 </testcase>