Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1204
index d2f06b6..c761df0 100644 (file)
@@ -10,37 +10,37 @@ HTTP Basic auth
 # Server-side
 <reply>
 <data>
-HTTP/1.1 401 Authorization Required swsbounce\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun  fun"\r
-Content-Type: text/html; charset=iso-8859-1\r
-Content-Length: 26\r
-\r
+HTTP/1.1 401 Authorization Required swsbounce
+Server: Apache/1.3.27 (Darwin) PHP/4.1.2
+WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun  fun"
+Content-Type: text/html; charset=iso-8859-1
+Content-Length: 26
+
 This is not the real page
 </data>
 
 # This is supposed to be returned when the server gets the second request
 <data1>
-HTTP/1.1 200 OK\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-Content-Type: text/html; charset=iso-8859-1\r
-Content-Length: 23\r
-\r
+HTTP/1.1 200 OK
+Server: Apache/1.3.27 (Darwin) PHP/4.1.2
+Content-Type: text/html; charset=iso-8859-1
+Content-Length: 23
+
 This IS the real page!
 </data1>
 
 <datacheck>
-HTTP/1.1 401 Authorization Required swsbounce\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun  fun"\r
-Content-Type: text/html; charset=iso-8859-1\r
-Content-Length: 26\r
-\r
-HTTP/1.1 200 OK\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-Content-Type: text/html; charset=iso-8859-1\r
-Content-Length: 23\r
-\r
+HTTP/1.1 401 Authorization Required swsbounce
+Server: Apache/1.3.27 (Darwin) PHP/4.1.2
+WWW-Authenticate: X-MobileMe-AuthToken realm="Newcastle", Basic realm="fun fun  fun"
+Content-Type: text/html; charset=iso-8859-1
+Content-Length: 26
+
+HTTP/1.1 200 OK
+Server: Apache/1.3.27 (Darwin) PHP/4.1.2
+Content-Type: text/html; charset=iso-8859-1
+Content-Length: 23
+
 This IS the real page!
 </datacheck>
 
@@ -65,15 +65,15 @@ http://%HOSTIP:%HTTPPORT/1204 -u testuser:testpass --anyauth
 ^User-Agent:.*
 </strip>
 <protocol>
-GET /1204 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Accept: */*\r
-\r
-GET /1204 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
-Accept: */*\r
-\r
+GET /1204 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+GET /1204 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
+Accept: */*
+
 </protocol>
 </verify>
 </testcase>