Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test309
index dd04312..c702c7b 100644 (file)
@@ -11,36 +11,36 @@ followlocation
 # Server-side
 <reply>
 <data>
-HTTP/1.1 301 This is a weirdo text message swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Server: test-server/fake\r
-Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes\r
-Connection: close\r
-\r
+HTTP/1.1 301 This is a weirdo text message swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
+Connection: close
+
 This server reply is for testing a simple Location: following to HTTPS URL
 
 </data>
 <data2>
-HTTP/1.1 200 Followed here fine swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Server: test-server/fake\r
-Content-Length: 52\r
-\r
+HTTP/1.1 200 Followed here fine swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 52
+
 If this is received, the location following worked
 
 </data2>
 <datacheck>
-HTTP/1.1 301 This is a weirdo text message swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Server: test-server/fake\r
-Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes\r
-Connection: close\r
-\r
-HTTP/1.1 200 Followed here fine swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Server: test-server/fake\r
-Content-Length: 52\r
-\r
+HTTP/1.1 301 This is a weirdo text message swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
+Connection: close
+
+HTTP/1.1 200 Followed here fine swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 52
+
 If this is received, the location following worked
 
 </datacheck>
@@ -73,14 +73,14 @@ perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP'
 ^User-Agent:.*
 </strip>
 <protocol>
-GET /want/309 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Accept: */*\r
-\r
-GET /data/3090002.txt?coolsite=yes HTTP/1.1\r
-Host: %HOSTIP:%HTTPSPORT\r
-Accept: */*\r
-\r
+GET /want/309 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+GET /data/3090002.txt?coolsite=yes HTTP/1.1
+Host: %HOSTIP:%HTTPSPORT
+Accept: */*
+
 </protocol>
 </verify>
 </testcase>